<html>
<head><style type="text/css">td { border:1pt solid #000; vertical-align:top; font-size:9pt; font-family:Arial;}
</style>
</head>
<body>

<big style="font-family: Arial;"> Comparison Summary </big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Modelica 3.2.2 with alias name: Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b>Modelica 3 2 1 Build 4 with alias name: Version 2</b>
</td>
</tr>
<td> Version: 3.2.2</td><td> Version: 3.2.1</td><tr><td> Version date: 2016-03-06</td><td> Version date: 2015-09-30</td><tr></tbody></table><br><br>
<big style="font-family: Arial;">model Blocks.Examples.FilterWithRiseTime</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Continuous.LimPID</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">equation<br>  <span style="color: rgb(0, 153, 0); font-weight: bold;">if initType == InitPID.InitialOutput and (y_start &lt; yMin or y_start &gt; yMax) then</span>
</td>
<td style="vertical-align: middle; text-align: left;">equation<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">assert(yMax &gt;= yMin, "LimPID: Limits must be consistent. However, yMax (=" </span><span style="color: rgb(102, 0, 204); font-weight: bold;">+ String(yMax) +<br>                       ") &lt; yMin (=" + String(yMin) + ")");</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  if initType == InitPID.InitialOutput and (y_start &lt; yMin or y_start &gt; yMax) then<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">        Modelica.Utilities.Streams.error("LimPID: Start value y_start (=" + String(y_start) +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp") is outside of the limits of yMin (=" + String(yMin) +") and yMax (=" + String(yMax) + ")");
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end if;
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  assert(limitsAtInit or not limitsAtInit and y &gt;= yMin and y &lt;= yMax,<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"LimPID: During initialization the limits have been switched off.\n" +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"After initialization, the output y (=" + String(y) +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp") is outside of the limits of yMin (=" + String(yMin) +") and yMax (=" + String(yMax) + ")");<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(u_s, addP.u1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Continuous.LowpassButterworth</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Blocks.Continuous.Internal.Filter.base.Butterworth</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Blocks.Continuous.Internal.Filter.base.ChebyshevI</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Blocks.Continuous.Internal.Filter.coefficients.lowPass</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Blocks.Continuous.Internal.Filter.coefficients.highPass</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Blocks.Continuous.Internal.Filter.coefficients.bandPass</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Blocks.Continuous.Internal.Filter.coefficients.bandStop</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Discrete.TransferFunction</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">x1<br></td><td style="text-align: left; vertical-align: middle;">start=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">xext<br></td><td style="text-align: left; vertical-align: middle;">each start=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">each fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Interfaces.DiscreteBlock</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">firstTrigger<br></td><td style="text-align: left; vertical-align: middle;">start=false<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Logical.Hysteresis</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">equation<br>  <span style="color: rgb(0, 153, 0); font-weight: bold;">assert(uHigh </span>&gt; <span style="color: rgb(0, 153, 0); font-weight: bold;">uLow,"Hysteresis limits wrong (uHigh &lt;= uLow)");</span>
</td>
<td style="vertical-align: middle; text-align: left;">equation<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">y </span><span style="color: rgb(102, 0, 204); font-weight: bold;">= u </span>&gt; <span style="color: rgb(102, 0, 204); font-weight: bold;">uHigh or pre(y) and u &gt;= uLow;</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y = not pre(y) and u &gt; uHigh or pre(y) and u &gt;= uLow;<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Nonlinear.Limiter</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  assert(uMax &gt;= uMin, "Limiter: Limits must be consistent. However, uMax (=" + String(uMax) +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp") &lt; uMin (=" + String(uMin) + ")");
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(0, 153, 0); font-weight: bold;">strict then</span>
</td>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(102, 0, 204); font-weight: bold;">initial() and </span><span style="color: rgb(102, 0, 204); font-weight: bold;">not limitsAtInit then</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">       y = <span style="color: rgb(0, 153, 0); font-weight: bold;">homotopy(actual </span><span style="color: rgb(0, 153, 0); font-weight: bold;">= smooth(0, noEvent(if u &gt; uMax then uMax else if u &lt; uMin then uMin else u)), simplified=u);</span>
</td>
<td style="vertical-align: middle; text-align: left;">       y = <span style="color: rgb(102, 0, 204); font-weight: bold;">u;</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">       assert(u &gt;= uMin - 0.01*abs(uMin) and<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspu &lt;= uMax + 0.01*abs(uMax),<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"Limiter: During initialization the limits have been ignored.\n"+<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"However, the result is that the input u is not within the required limits:\n"+<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"  u = " + String(u) + ", uMin = " + String(uMin) + ", uMax = " + String(uMax));<br>  elseif strict then<br>       y = smooth(0, noEvent(if u &gt; uMax then uMax else if u &lt; uMin then uMin else u));<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">       y = <span style="color: rgb(0, 153, 0); font-weight: bold;">homotopy(actual = </span>smooth(0,if u &gt; uMax then uMax else if u &lt; uMin then uMin else <span style="color: rgb(0, 153, 0); font-weight: bold;">u),</span><span style="color: rgb(0, 153, 0); font-weight: bold;"> simplified=u);</span>
</td>
<td style="vertical-align: middle; text-align: left;">       y = smooth(0,if u &gt; uMax then uMax else if u &lt; uMin then uMin else <span style="color: rgb(102, 0, 204); font-weight: bold;">u);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end if;
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Nonlinear.VariableLimiter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">uMax<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">uMin<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  assert(limit1 &gt;= limit2, "Input signals are not consistent: limit1 &lt; limit2");<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if strict then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">       <span style="color: rgb(0, 153, 0); font-weight: bold;">y </span><span style="color: rgb(0, 153, 0); font-weight: bold;">= homotopy(actual = smooth(0, noEvent(if u &gt; limit1 then limit1 else if u &lt; limit2 then limit2 else u)), simplified=u);</span>
</td>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(102, 0, 204); font-weight: bold;">uMax = noEvent(max(limit1,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">limit2));</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">      uMin = noEvent(min(limit1, limit2));<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">       <span style="color: rgb(0, 153, 0); font-weight: bold;">y </span><span style="color: rgb(0, 153, 0); font-weight: bold;">= homotopy(actual = smooth(0,if u &gt; limit1 then limit1 else if u &lt; limit2 then limit2 else u), simplified=u);</span>
</td>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(102, 0, 204); font-weight: bold;">uMax = max(limit1,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">limit2);</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">      uMin = min(limit1, limit2);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end if;
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  if initial() and not limitsAtInit then<br>       y = u;<br>       assert(u &gt;= uMin - 0.01*abs(uMin) and<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspu &lt;= uMax + 0.01*abs(uMax),<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"VariableLimiter: During initialization the limits have been ignored.\n"+<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"However, the result is that the input u is not within the required limits:\n"+<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"  u = " + String(u) + ", uMin = " + String(uMin) + ", uMax = " + String(uMax));<br>  elseif strict then<br>      y = smooth(0, noEvent(if u &gt; uMax then uMax else if u &lt; uMin then uMin else u));<br>  else<br>       y = smooth(0,if u &gt; uMax then uMax else if u &lt; uMin then uMin else u);<br>  end if;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Nonlinear.SlewRateLimiter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">val<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>equation<br>&nbsp&nbspif strict then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      der(y) = smooth(1,<span style="color: rgb(0, 153, 0); font-weight: bold;">noEvent(if val&lt;Falling then Falling else if val&gt;Rising then </span><span style="color: rgb(0, 153, 0); font-weight: bold;">Rising else val));</span>
</td>
<td style="vertical-align: middle; text-align: left;">      der(y) = smooth(1,<span style="color: rgb(102, 0, 204); font-weight: bold;"> noEvent(min(max((u - y)/Td, Falling), Rising)));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      der(y) = <span style="color: rgb(0, 153, 0); font-weight: bold;">if val&lt;Falling then Falling else if val&gt;Rising then Rising </span><span style="color: rgb(0, 153, 0); font-weight: bold;">else val;</span>
</td>
<td style="vertical-align: middle; text-align: left;">      der(y) = <span style="color: rgb(102, 0, 204); font-weight: bold;">smooth(1, min(max((u - y)/Td, Falling), Rising));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end if;
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Nonlinear.DeadZone</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  assert(uMax &gt;= uMin, "DeadZone: Limits must be consistent. However, uMax (=" + String(uMax) +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp") &lt; uMin (=" + String(uMin) + ")");
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">y = homotopy(actual=smooth(0,</span>if <span style="color: rgb(0, 153, 0); font-weight: bold;">u &gt; uMax </span>then <span style="color: rgb(0, 153, 0); font-weight: bold;">u - uMax else if u &lt; uMin then u - uMin else 0), simplified=u);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(102, 0, 204); font-weight: bold;">initial() and not </span><span style="color: rgb(102, 0, 204); font-weight: bold;">deadZoneAtInit </span>then
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">       y = u;<br>  else<br>       y = smooth(0,if u &gt; uMax then u - uMax else if u &lt; uMin then u - uMin else 0);<br>  end if;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Nonlinear.PadeDelay</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 242px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">balance<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">a1<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">b11<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">c<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">d<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">s<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">x1dot<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">xn<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">a<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">b<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">der(x[1]) </span>= <span style="color: rgb(0, 153, 0); font-weight: bold;">a1*x + b11*u;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">(b,</span><span style="color: rgb(102, 0, 204); font-weight: bold;">a) </span>= <span style="color: rgb(102, 0, 204); font-weight: bold;">padeCoefficients(delayTime, n,</span><span style="color: rgb(102, 0, 204); font-weight: bold;"> m);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">if n &gt; 1 then</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">[der(x); xn] = [x1dot;</span><span style="color: rgb(102, 0, 204); font-weight: bold;"> x];</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">   <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">   der(x[2:n]) = s.*x[1:n-1];</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">[u] = transpose([a])*[x1dot;</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">x];</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">end if;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">[y] = </span><span style="color: rgb(102, 0, 204); font-weight: bold;">transpose([zeros(n - m, 1); b])*[x1dot; x];</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y = c*x + d*u;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">initial equation<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">(a1,b11,c,</span><span style="color: rgb(0, 153, 0); font-weight: bold;">d,s) = padeCoefficients2(delayTime, n, m, balance);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">x[n] = u;</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  if balance then</span>
</td>
<td style="vertical-align: middle; text-align: left;">
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">       der(x) = zeros(n);<br>  else<br>       x[n] = u;<br>  end if;<br><br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Blocks.Routing.RealPassThrough</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">u<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">y<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Blocks.Routing.BooleanPassThrough</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">u<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">y<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Sources.Sine</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Sources.Cosine</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Sources.ExpSine</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Sources.TimeTable</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">timeScale<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">nextEventScaled<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">timeScaled<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  timeScaled := time/timeScale;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  when {time &gt;= pre(nextEvent),initial()} then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(0, 153, 0); font-weight: bold;">(a,b,nextEventScaled,last) = </span> <span style="color: rgb(0, 153, 0); font-weight: bold;">getInterpolationCoefficients(<br>          table,<br>          </span>offset,<br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">startTime/timeScale,</span><br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">   </span><span style="color: rgb(0, 153, 0); font-weight: bold;"> timeScaled,<br>          last,<br>          100*Modelica.Constants.eps);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">(a,b,nextEvent,last) = getInterpolationCoefficients(<br> </span>   <span style="color: rgb(102, 0, 204); font-weight: bold;">table,</span><br>    offset,<br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">startTime,</span><br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">time,</span><br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">last,</span><br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">100*Modelica_3_2_1_Build_4.Constants.eps);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      nextEvent =  nextEventScaled*timeScale;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end when;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">equation<br>  y = <span style="color: rgb(0, 153, 0); font-weight: bold;">a*timeScaled </span>+ b;
</td>
<td style="vertical-align: middle; text-align: left;">equation<br>  y = <span style="color: rgb(102, 0, 204); font-weight: bold;">a*time </span>+ b;
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Sources.CombiTimeTable</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 176px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tableID<br></td><td style="text-align: left; vertical-align: middle;">=Modelica.Blocks.Types.ExternalCombiTimeTable(if tableOnFile then tableName else "NoName", if tableOnFile and fileName <> "NoName" and not Modelica.Utilities.Strings.isEmpty(fileName) then fileName else "NoName", table, startTime/timeScale, columns, smoothness, extrapolation)<br></td><td style="text-align: left; vertical-align: middle;">=Modelica_3_2_1_Build_4.Blocks.Types.ExternalCombiTimeTable(if tableOnFile then tableName else "NoName", if tableOnFile and fileName <> "NoName" and not Modelica_3_2_1_Build_4.Utilities.Strings.isEmpty(fileName) then fileName else "NoName", table, startTime, columns, smoothness, extrapolation)<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">timeScale<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">t_minScaled<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">t_maxScaled<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">nextTimeEventScaled<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">DBL_MAX<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">timeScaled<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  end if;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">t_minScaled </span>=  getTableTimeTmin(tableID, tableOnFileRead);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">t_min </span>=  getTableTimeTmin(tableID, tableOnFileRead);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">t_maxScaled </span>=  getTableTimeTmax(tableID, tableOnFileRead);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">t_max </span>=  getTableTimeTmax(tableID, tableOnFileRead);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  t_min =  t_minScaled*timeScale;<br>  t_max =  t_maxScaled*timeScale;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  end if;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  timeScaled = time/timeScale;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  when {time &gt;= pre(nextTimeEvent),initial()} then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(0, 153, 0); font-weight: bold;">nextTimeEventScaled </span>= getNextTimeEvent(tableID, <span style="color: rgb(0, 153, 0); font-weight: bold;">timeScaled,</span> tableOnFileRead);
</td>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(102, 0, 204); font-weight: bold;">nextTimeEvent </span>= getNextTimeEvent(tableID, <span style="color: rgb(102, 0, 204); font-weight: bold;">time,</span> tableOnFileRead);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      if (nextTimeEventScaled &lt; DBL_MAX) then<br>          nextTimeEvent = nextTimeEventScaled*timeScale;<br>      else<br>          nextTimeEvent = DBL_MAX;<br>      end if;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end when;<br> ... <br>      for i in 1:nout loop
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">          y[i] = p_offset[i] + getTableValueNoDer(tableID, i, <span style="color: rgb(0, 153, 0); font-weight: bold;">timeScaled,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">nextTimeEventScaled,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">pre(nextTimeEventScaled),</span> tableOnFileRead);
</td>
<td style="vertical-align: middle; text-align: left;">          y[i] = p_offset[i] + getTableValueNoDer(tableID, i, <span style="color: rgb(102, 0, 204); font-weight: bold;">time,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">nextTimeEvent,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">pre(nextTimeEvent),</span> tableOnFileRead);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      end for;<br> ... <br>      for i in 1:nout loop
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">          y[i] = p_offset[i] + getTableValue(tableID, i, <span style="color: rgb(0, 153, 0); font-weight: bold;">timeScaled,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">nextTimeEventScaled,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">pre(nextTimeEventScaled),</span> tableOnFileRead);
</td>
<td style="vertical-align: middle; text-align: left;">          y[i] = p_offset[i] + getTableValue(tableID, i, <span style="color: rgb(102, 0, 204); font-weight: bold;">time,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">nextTimeEvent,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">pre(nextTimeEvent),</span> tableOnFileRead);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      end for;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.Interfaces.ComplexSISO</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">uInternal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.Interfaces.ComplexSI2SO</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput1<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput2<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">u1Internal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">u2Internal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.Interfaces.ComplexSIMO</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">uInternal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.Interfaces.ComplexMISO</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">uInternal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.Interfaces.ComplexMIMO</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">uInternal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.Interfaces.ComplexMIMOs</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">uInternal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.Interfaces.ComplexMI2MO</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput1<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput2<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">u1Internal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">u2Internal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Gain</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(0, 153, 0); font-weight: bold;">k*(if </span><span style="color: rgb(0, 153, 0); font-weight: bold;">useConjugateInput then Modelica.ComplexMath.conj(u) else u);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(102, 0, 204); font-weight: bold;">k*u;</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Sum</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(0, 153, 0); font-weight: bold;">k*uInternal;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(102, 0, 204); font-weight: bold;">k*u;</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Feedback</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput1<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput2<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(0, 153, 0); font-weight: bold;">(if useConjugateInput1 then </span><span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.ComplexMath.conj(u1) else u1) -<br>    (if useConjugateInput1 then Modelica.ComplexMath.conj(u2) else u2);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(102, 0, 204); font-weight: bold;">u1 - u2;</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Add</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(0, 153, 0); font-weight: bold;">k1*u1Internal </span>+ <span style="color: rgb(0, 153, 0); font-weight: bold;">k2*u2Internal;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(102, 0, 204); font-weight: bold;">k1*u1 </span>+ <span style="color: rgb(102, 0, 204); font-weight: bold;">k2*u2;</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Add3</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput1<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput2<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput3<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(0, 153, 0); font-weight: bold;">k1*(if useConjugateInput1 then Modelica.ComplexMath.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">conj(u1) else u1)<br>     + k2*(if useConjugateInput2 then Modelica.ComplexMath.conj(u2) else u2)<br>     + k3*(if useConjugateInput3 then Modelica.ComplexMath.conj(u3) else u3);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(102, 0, 204); font-weight: bold;">k1*u1 + k2*u2 + k3*u3;</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Product</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(0, 153, 0); font-weight: bold;">u1Internal*u2Internal;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(102, 0, 204); font-weight: bold;">u1*u2;</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Division</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput1<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput2<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(0, 153, 0); font-weight: bold;">(if </span><span style="color: rgb(0, 153, 0); font-weight: bold;">useConjugateInput1 then Modelica.ComplexMath.conj(u1) else u1)/(<br>    if useConjugateInput2 then Modelica.ComplexMath.conj(u2) else u2);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  y = <span style="color: rgb(102, 0, 204); font-weight: bold;">u1/u2;</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Sqrt</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">'sqrt'(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">'sqrt'(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Sin</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">sin(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">sin(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Cos</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">cos(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">cos(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Tan</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">tan(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">tan(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Asin</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">asin(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">asin(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Acos</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">acos(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">acos(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Atan</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">atan(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">atan(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Sinh</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">sinh(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">sinh(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Cosh</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">cosh(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">cosh(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Tanh</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">tanh(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">tanh(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Exp</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">exp(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">exp(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.Log</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>y = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>ComplexMath.<span style="color: rgb(0, 153, 0); font-weight: bold;">log(uInternal);</span>
</td>
<td style="vertical-align: middle; text-align: left;">y = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>ComplexMath.<span style="color: rgb(102, 0, 204); font-weight: bold;">log(u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.ComplexToReal</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  re = u.re;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">im = </span><span style="color: rgb(0, 153, 0); font-weight: bold;">(if useConjugateInput then -u.im else u.im);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">im=u.im;</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block ComplexBlocks.ComplexMath.ComplexToPolar</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConjugateInput<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  len = (u.re^2 + u.im^2)^0.5;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>phi = <span style="color: rgb(0, 153, 0); font-weight: bold;">(if </span><span style="color: rgb(0, 153, 0); font-weight: bold;">useConjugateInput then Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">atan2(-u.</span>im, u.<span style="color: rgb(0, 153, 0); font-weight: bold;">re) </span><span style="color: rgb(0, 153, 0); font-weight: bold;">else<br>    Modelica.Math.atan2(u.im, u.re));</span>
</td>
<td style="vertical-align: middle; text-align: left;">phi = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">atan2(u.</span>im, u.<span style="color: rgb(102, 0, 204); font-weight: bold;">re);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Examples.CauerLowPassAnalog</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(C1.n,G.p);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(R1.n,C2. p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(L1.p,C2.p);<br> ... <br>  connect(C2.n,C4.p);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(L1.n,C3. p);<br>  connect(L1.n,C4. p);<br>  connect(L2.p,C4. p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(C2.n,L2.p);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(C3.p,L2. p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(L2.n,C4.n);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(L2.n,C5. p);<br>  connect(L2.n,R2. p);<br>  connect(R2.n,G. p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(C4.n,C5.p);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(C4.n,R2.p);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(C3.n,G. p);<br>  connect(C5.n,G. p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(C1.n,C3.n);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(C1.n,C5.n);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(R2.n,C5. n);<br>  connect(R2.n,C3. n);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(R2.n,C1.n);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(C5.p,R2. p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(R1.p,V.p);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Examples.ShowSaturatingInductor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">SaturatingInductance1<br></td><td style="text-align: left; vertical-align: middle;">i(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">i(start=0)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Inductance1<br></td><td style="text-align: left; vertical-align: middle;">i(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">i(start=0, fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Examples.SwitchWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">switch2<br></td><td style="text-align: left; vertical-align: middle;">off(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Examples.CompareTransformers</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Examples.ControlledSwitchWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">inductor1<br></td><td style="text-align: left; vertical-align: middle;">i(fixed=true, start=0)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">inductor2<br></td><td style="text-align: left; vertical-align: middle;">i(fixed=true, start=0)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">switch2<br></td><td style="text-align: left; vertical-align: middle;">off(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">connect(inductor1.n,resistor1. p);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">initial equation<br></span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  inductor1.i = 0;<br>  inductor2.i = 0;<br><br>equation<br>&nbsp&nbspconnect(inductor1.n,resistor1. p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(resistor1.n,ground1. p);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Basic.SaturatingInductor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Psi<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">start=0<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Basic.M_Transformer</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  for s in 1:N loop
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(0, 153, 0); font-weight: bold;">Lm[s,s] = L[(s - 1)*N </span><span style="color: rgb(0, 153, 0); font-weight: bold;">- div((s - 1)*s, 2) + s];</span>
</td>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(102, 0, 204); font-weight: bold;"> for z in 1:N loop</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(0, 153, 0); font-weight: bold;">for z in s + 1:N loop</span>
</td>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(102, 0, 204); font-weight: bold;">     Lm[z,s]= </span><span style="color: rgb(102, 0, 204); font-weight: bold;"> if (z&gt;=s) then L[(s-1)*N+z-div((s-1)*s,2)] else<br>                     Lm[s,z];</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">          Lm[s,z] = L[(s - 1)*N - div((s - 1)*s, 2) + z];<br>          Lm[z,s] = L[(s - 1)*N - div((s - 1)*s, 2) + z];<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      end for;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealDiode</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 176px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Vknee<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">off<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">s<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitVoltage<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitCurrent<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  off = s &lt; 0;
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  v = (s*unitCurrent)*(if off then 1 else Ron) + Vknee;<br>  i = (s*unitVoltage)*(if off then Goff else 1) + Goff*Vknee;<br>  LossPower = v*i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealThyristor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 176px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Vknee<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">off<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">s<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitVoltage<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitCurrent<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  off = s &lt; 0 or pre(off) and not fire;
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  v = (s*unitCurrent)*(if off then 1 else Ron) + Vknee;<br>  i = (s*unitVoltage)*(if off then Goff else 1) + Goff*Vknee;<br>  LossPower = v*i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealGTOThyristor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 176px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Vknee<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">off<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">s<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitVoltage<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitCurrent<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  off = s &lt; 0 or not fire;
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  v = (s*unitCurrent)*(if off then 1 else Ron) + Vknee;<br>  i = (s*unitVoltage)*(if off then Goff else 1) + Goff*Vknee;<br>  LossPower = v*i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealOpeningSwitch</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 132px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">s<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitVoltage<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitCurrent<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">off </span>= <span style="color: rgb(0, 153, 0); font-weight: bold;">control;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">v </span>= <span style="color: rgb(102, 0, 204); font-weight: bold;">(s*unitCurrent)*(if </span><span style="color: rgb(102, 0, 204); font-weight: bold;">control then 1 else Ron);</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  i = (s*unitVoltage)*(if control then Goff else 1);<br>  LossPower = v*i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealClosingSwitch</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 132px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">s<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitVoltage<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitCurrent<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">off </span>= <span style="color: rgb(0, 153, 0); font-weight: bold;">not control;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">v </span>= <span style="color: rgb(102, 0, 204); font-weight: bold;">(s*unitCurrent)*(if control </span><span style="color: rgb(102, 0, 204); font-weight: bold;">then Ron else 1);</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  i = (s*unitVoltage)*(if control then 1 else Goff);<br>  LossPower = v*i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.ControlledIdealOpeningSwitch</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 176px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">p<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">n<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">s<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitVoltage<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitCurrent<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  off = control.v &gt; level;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  control.i = 0;
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  0 = p.i + n.i;<br>  p.v - n.v = (s*unitCurrent)*(if (control.v &gt; level) then 1 else Ron);<br>  p.i = (s*unitVoltage)*(if (control.v &gt; level) then Goff else 1);<br>  LossPower = (p.v - n.v)*p.i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.ControlledIdealClosingSwitch</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 176px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">p<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">n<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">s<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitVoltage<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitCurrent<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  off = control.v &lt; level;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  control.i = 0;
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  0 = p.i + n.i;<br>  p.v - n.v = (s*unitCurrent)*(if (control.v &gt; level) then Ron else 1);<br>  p.i = (s*unitVoltage)*(if (control.v &gt; level) then 1 else Goff);<br>  LossPower = (p.v - n.v)*p.i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.OpenerWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 220px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">V0<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dVdt<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Vmax<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">off<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">on<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tSwitch<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quenched<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">off = control;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">when edge(off) then</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">      tSwitch = time;<br>  end when;<br>  quenched = off and (abs(i) &lt;= abs(v)*Goff or pre(quenched));<br>  if on then<br>      v = Ron*i;<br>  else<br>      if quenched then<br>          i = Goff*v;<br>      else<br>          v = min(Vmax, V0 + dVdt*(time - tSwitch))*sign(i);<br>      end if;<br>  end if;<br>  LossPower = v*i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.CloserWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 220px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">V0<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dVdt<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Vmax<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">on<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">off<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tSwitch<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quenched<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  off = not <span style="color: rgb(0, 153, 0); font-weight: bold;">control;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  off = not <span style="color: rgb(102, 0, 204); font-weight: bold;">on;</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  when edge(off) then<br>      tSwitch = time;<br>  end when;<br>  quenched = off and (abs(i) &lt;= abs(v)*Goff or pre(quenched));<br>  if on then<br>      v = Ron*i;<br>  else<br>      if quenched then<br>          i = Goff*v;<br>      else<br>          v = min(Vmax, V0 + dVdt*(time - tSwitch))*sign(i);<br>      end if;<br>  end if;<br>  LossPower = v*i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.ControlledOpenerWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 352px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">V0<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dVdt<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Vmax<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">p<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">n<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">i<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitVoltage<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitCurrent<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">off<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">on<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tSwitch<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quenched<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  off = control.v &gt; level;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  control.i = 0;
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  0 = p.i + n.i;<br>  i = p.i;<br>  p.v - n.v = v;<br>  when edge(off) then<br>      tSwitch = time;<br>  end when;<br>  quenched = off and (abs(i) &lt;= abs(v)*Goff or pre(quenched));<br>  if on then<br>      v = Ron*i;<br>  else<br>      if quenched then<br>          i = Goff*v;<br>      else<br>          v = min(Vmax, V0 + dVdt*(time - tSwitch))*sign(i);<br>      end if;<br>  end if;<br>  LossPower = v*i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.ControlledCloserWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 352px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">V0<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dVdt<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Vmax<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">p<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">n<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">i<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitVoltage<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">unitCurrent<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">off<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">on<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tSwitch<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quenched<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  off = <span style="color: rgb(0, 153, 0); font-weight: bold;">control.</span>v &lt; <span style="color: rgb(0, 153, 0); font-weight: bold;">level;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  off = <span style="color: rgb(102, 0, 204); font-weight: bold;">(control.</span>v &lt; <span style="color: rgb(102, 0, 204); font-weight: bold;">level);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  control.i = 0;
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  0 = p.i + n.i;<br>  i = p.i;<br>  p.v - n.v = v;<br>  when edge(off) then<br>      tSwitch = time;<br>  end when;<br>  quenched = off and (abs(i) &lt;= abs(v)*Goff or pre(quenched));<br>  if on then<br>      v = Ron*i;<br>  else<br>      if quenched then<br>          i = Goff*v;<br>      else<br>          v = min(Vmax, V0 + dVdt*(time - tSwitch))*sign(i);<br>      end if;<br>  end if;<br>  LossPower = v*i;<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Semiconductors.HeatingDiode</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">q<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.ElectricCharge</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">k<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Semiconductors.HeatingNPN</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="3" style="vertical-align: middle;">q<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.ElectricCharge</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td><td style="text-align: left; vertical-align: middle;"><b>parameter</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><b>protected</b><br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">K<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  bf_t = Bf*pow((T_heatPort/Tnom), XTB);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  vt_t = <span style="color: rgb(0, 153, 0); font-weight: bold;">(k/q)*T_heatPort;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  vt_t = <span style="color: rgb(102, 0, 204); font-weight: bold;">(K/q)*T_heatPort;</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  ibc = smooth(1,(if (vbc/(NR*vt_t) &lt; EMin) then is_t*(ExMin*(vbc/(NR*vt_t) -<br>&nbsp&nbsp&nbsp&nbspEMin + 1) - 1) + vbc*Gbc else if (vbc/(NR*vt_t) &gt; EMax) then is_t*(<br>&nbsp&nbsp&nbsp&nbspExMax*(vbc/(NR*vt_t) - EMax + 1) - 1) + vbc*Gbc else is_t*(exp(vbc/<br>&nbsp&nbsp&nbsp&nbsp(NR*vt_t)) - 1) + vbc*Gbc));<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Semiconductors.HeatingPNP</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="3" style="vertical-align: middle;">q<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.ElectricCharge</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td><td style="text-align: left; vertical-align: middle;"><b>parameter</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><b>protected</b><br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">K<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  bf_t = Bf*pow((T_heatPort/Tnom), XTB);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  vt_t = <span style="color: rgb(0, 153, 0); font-weight: bold;">(k/q)*T_heatPort;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  vt_t = <span style="color: rgb(102, 0, 204); font-weight: bold;">(K/q)*T_heatPort;</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  icb = smooth(1,(if (vcb/(NR*vt_t) &lt; EMin) then is_t*(ExMin*(vcb/(NR*vt_t) -<br>&nbsp&nbsp&nbsp&nbspEMin + 1) - 1) + vcb*Gbc else if (vcb/(NR*vt_t) &gt; EMax) then is_t*(<br>&nbsp&nbsp&nbsp&nbspExMax*(vcb/(NR*vt_t) - EMax + 1) - 1) + vcb*Gbc else is_t*(exp(vcb/<br>&nbsp&nbsp&nbsp&nbsp(NR*vt_t)) - 1) + vcb*Gbc));<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">package Electrical.Digital.Tables</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">UX01Conv<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Registers.DFFR</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ResetMap<br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td><td style="text-align: left; vertical-align: middle;">sizes= 9<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Registers.DFFREG</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ResetMap<br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td><td style="text-align: left; vertical-align: middle;">sizes= 9<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Registers.DFFSR</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ResetSetMap<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  -1-1<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  99<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Registers.DFFREGSRH</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ResetSetMap<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  -1-1<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  99<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Registers.DLATR</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ResetMap<br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td><td style="text-align: left; vertical-align: middle;">sizes= 9<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Registers.DLATREG</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ResetMap<br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td><td style="text-align: left; vertical-align: middle;">sizes= 9<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Registers.DLATSR</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ResetSetMap<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  -1-1<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  99<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Registers.DLATREGSRH</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ResetSetMap<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  -1-1<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  99<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Tristates.BUF3S</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.Buf3sTable[strength, T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[enable],</span> T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[x]];</span>
</td>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.Buf3sTable[strength, T.<span style="color: rgb(102, 0, 204); font-weight: bold;">UX01Table[enable],</span> T.<span style="color: rgb(102, 0, 204); font-weight: bold;">UX01Table[x]];</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  yy =  nextstate;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Tristates.BUF3SL</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.Buf3slTable[strength, T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[enable],</span> T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[x]];</span>
</td>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.Buf3slTable[strength, T.<span style="color: rgb(102, 0, 204); font-weight: bold;">UX01Table[enable],</span> T.<span style="color: rgb(102, 0, 204); font-weight: bold;">UX01Table[x]];</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  yy =  nextstate;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Tristates.INV3S</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.Buf3sTable[strength, T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[enable],</span> T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[T.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">NotTable[x]]];</span>
</td>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.Buf3sTable[strength, T.<span style="color: rgb(102, 0, 204); font-weight: bold;">UX01Table[enable],</span> T.<span style="color: rgb(102, 0, 204); font-weight: bold;">NotTable[x]];</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  yy =  nextstate;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Tristates.INV3SL</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.Buf3sTable[strength, T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[T.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">NotTable[enable]],</span> T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[T.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">NotTable[x]]];</span>
</td>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.Buf3sTable[strength, T.<span style="color: rgb(102, 0, 204); font-weight: bold;">NotTable[enable],</span> T.<span style="color: rgb(102, 0, 204); font-weight: bold;">NotTable[x]];</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  yy =  nextstate;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Multiplexers.MUX2x1</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.MUX2x1Table[T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[in1],</span> T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[sel],</span> T.<span style="color: rgb(0, 153, 0); font-weight: bold;">UX01Conv[in0]];</span>
</td>
<td style="vertical-align: middle; text-align: left;">  nextstate := T.MUX2x1Table[T.<span style="color: rgb(102, 0, 204); font-weight: bold;">UX01Table[in1],</span> T.<span style="color: rgb(102, 0, 204); font-weight: bold;">UX01Table[sel],</span> T.<span style="color: rgb(102, 0, 204); font-weight: bold;">UX01Table[in0]];</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  nextstate =  T.StrengthMap[nextstate, strength];<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wLoad<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wLoad<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wLoad<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wLoad<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wSwitch<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wLoad<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">w_sim<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wLoad<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 264px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">iq<br></td><td style="text-align: left; vertical-align: middle;">k=Idq[2]<br></td><td style="text-align: left; vertical-align: middle;">k=84.6<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">id<br></td><td style="text-align: left; vertical-align: middle;">k=Idq[1]<br></td><td style="text-align: left; vertical-align: middle;">k=-53.5<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">inertiaLoad<br></td><td style="text-align: left; vertical-align: middle;">J=JLoad<br></td><td style="text-align: left; vertical-align: middle;">J=0.29<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">quadraticSpeedDependentTorque<br></td><td style="text-align: left; vertical-align: middle;">tau_nominal=-TLoad<br></td><td style="text-align: left; vertical-align: middle;">tau_nominal=-181.4<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">w_nominal(displayUnit="rad/s") = wNominal<br></td><td style="text-align: left; vertical-align: middle;">w_nominal(displayUnit="rpm") = 157.07963267949<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Idq<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wNominal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">VNominal<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">fNominal<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">f<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tRamp<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tStep<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 264px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">iq<br></td><td style="text-align: left; vertical-align: middle;">k=Idq[2]<br></td><td style="text-align: left; vertical-align: middle;">k=84.6<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">id<br></td><td style="text-align: left; vertical-align: middle;">k=Idq[1]<br></td><td style="text-align: left; vertical-align: middle;">k=-53.5<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">inertiaLoad<br></td><td style="text-align: left; vertical-align: middle;">J=JLoad<br></td><td style="text-align: left; vertical-align: middle;">J=0.29<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">quadraticSpeedDependentTorque<br></td><td style="text-align: left; vertical-align: middle;">tau_nominal=-TLoad<br></td><td style="text-align: left; vertical-align: middle;">tau_nominal=-181.4<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">w_nominal(displayUnit="rad/s") = wNominal<br></td><td style="text-align: left; vertical-align: middle;">w_nominal(displayUnit="rpm") = 157.07963267949<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Idq<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wNominal<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">VNominal<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">fNominal<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">f<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tRamp<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tStep<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wActual<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">switch<br></td><td style="text-align: left; vertical-align: middle;">closerWithArc(off(start=fill(true, m), fixed=fill(true, m)))<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.DCMachines.DCSE_Start</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wLoad<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wLoad<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.DCMachines.DCPM_Cooling</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(volumeFlow.flowPort_b, cooling.flowPort_a);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(dcpm.thermalPort, thermalPort);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(armature.port, thermalPort.heatPortArmature);<br> ... <br>  connect(fixedTemperature.port, thermalPort.heatPortPermanentMagnet);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(dcpm.thermalPort, thermalPort);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.AsynchronousInductionMachines.AIM_SquirrelCage</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ir<br></td><td style="text-align: left; vertical-align: middle;">=squirrelCageR.i<br></td><td style="text-align: left; vertical-align: middle;">=-squirrelCageR.spacePhasor_r.i_<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Components.SquirrelCage</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Sensors.VoltageQuasiRMSSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ToSpacePhasor1<br></td><td style="text-align: left; vertical-align: middle;">m=m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Sensors.CurrentQuasiRMSSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ToSpacePhasor1<br></td><td style="text-align: left; vertical-align: middle;">m=m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Sensors.RotorDisplacementAngle</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;"><b>parameter</b><br></td><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ToSpacePhasorVS<br></td><td style="text-align: left; vertical-align: middle;">final m=m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">deMultiplex2<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(add.y, rotatorVS2R.angle);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(ToPolarVSR.<span style="color: rgb(0, 153, 0); font-weight: bold;">y[2],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">rotorDisplacementAngle);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(ToPolarVSR.<span style="color: rgb(102, 0, 204); font-weight: bold;">y,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">deMultiplex2.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">u);</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(deMultiplex2.y2[1], rotorDisplacementAngle);<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.SpacePhasors.Components.SpacePhasor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.SpacePhasors.Components.Rotator</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Electrical.Machines.SpacePhasors.Blocks.ToSpacePhasor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 132px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;"><b>parameter</b><br></td><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;">min=1<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">TransformationMatrix<br></td><td style="text-align: left; vertical-align: middle;">=2/m*{+cos(+phi),+sin(+phi)}<br></td><td style="text-align: left; vertical-align: middle;">=2/m*{{cos(+(k - 1)/m*2*pi) for k in 1:m},{+sin(+(k - 1)/m*2*pi) for k in 1:m}}<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">InverseTransformation<br></td><td style="text-align: left; vertical-align: middle;">={{+cos(-phi[k]),-sin(-phi[k])} for k in 1:m}<br></td><td style="text-align: left; vertical-align: middle;">={{cos(-(k - 1)/m*2*pi),-sin(-(k - 1)/m*2*pi)} for k in 1:m}<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Electrical.Machines.SpacePhasors.Blocks.FromSpacePhasor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 132px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;"><b>parameter</b><br></td><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;">min=1<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">TransformationMatrix<br></td><td style="text-align: left; vertical-align: middle;">=2/m*{+cos(+phi),+sin(+phi)}<br></td><td style="text-align: left; vertical-align: middle;">=2/m*{{cos(+(k - 1)/m*2*pi) for k in 1:m},{+sin(+(k - 1)/m*2*pi) for k in 1:m}}<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">InverseTransformation<br></td><td style="text-align: left; vertical-align: middle;">={{+cos(-phi[k]),-sin(-phi[k])} for k in 1:m}<br></td><td style="text-align: left; vertical-align: middle;">={{cos(-(k - 1)/m*2*pi),-sin(-(k - 1)/m*2*pi)} for k in 1:m}<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 154px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">x<br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td><td style="text-align: left; vertical-align: middle;">sizes= 3<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;"><b>parameter</b><br></td><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;">=size(x, 1)<br></td><td style="text-align: left; vertical-align: middle;">=3<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">TransformationMatrix<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">InverseTransformation<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  y := <span style="color: rgb(0, 153, 0); font-weight: bold;">TransformationMatrix*x;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  y := <span style="color: rgb(102, 0, 204); font-weight: bold;">zeros(2);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">y0 =  1/m*sum(x);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">for k in 1:m </span><span style="color: rgb(102, 0, 204); font-weight: bold;">loop</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">      y =  y + 2/m*{+cos((k - 1)/m*2*pi),+sin(+(k - 1)/m*2*pi)}*x[k];</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  end for;<br>  y0 =  1/m*sum(x);<br><br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Electrical.Machines.SpacePhasors.Functions.FromSpacePhasor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 154px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="4" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>protected</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><b>input</b><br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">=3<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">y<br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td><td style="text-align: left; vertical-align: middle;">sizes= 3<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">TransformationMatrix<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">InverseTransformation<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">y := fill(x0, m) </span><span style="color: rgb(0, 153, 0); font-weight: bold;">+ InverseTransformation*x;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">for k in 1:m loop</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">      y[k] =  x0 + {cos(-(k - 1)/m*2*pi),-sin(-(k - 1)/m*2*pi)}*x;</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  end for;<br><br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Electrical.Machines.SpacePhasors.Functions.FromPolar</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Electrical.Machines.SpacePhasors.Functions.quasiRMS</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 132px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;">=size(x, 1)<br></td><td style="text-align: left; vertical-align: middle;">=3<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">h<br></td><td style="text-align: left; vertical-align: middle;">=TransformationMatrix*x<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">TransformationMatrix<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">y </span>:= <span style="color: rgb(0, 153, 0); font-weight: bold;">sqrt(h[1]^2 </span><span style="color: rgb(0, 153, 0); font-weight: bold;">+ h[2]^2)/sqrt(2);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">h </span>:= <span style="color: rgb(102, 0, 204); font-weight: bold;">zeros(2);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">  for k in 1:m loop</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">      h =  h + 2/m*{+cos((k - 1)/m*2*pi),+sin(+(k - 1)/m*2*pi)}*x[k];<br>  end for;<br>  y =  sqrt(h[1]^2 + h[2]^2)/sqrt(2);<br><br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Electrical.Machines.SpacePhasors.Functions.activePower</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">record Electrical.Machines.Losses.FrictionParameters</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wRef<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">record Electrical.Machines.Losses.StrayLoadParameters</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wRef<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">record Electrical.Machines.Losses.PermanentMagnetLossParameters</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wRef<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Interfaces.PartialBasicMachine</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Js<br></td><td style="text-align: left; vertical-align: middle;">=Jr<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">start=Jr<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wMechanical<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Interfaces.PartialBasicInductionMachine</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(spacePhasorS.plug_n, plug_sn);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(thermalPort, internalThermalPort);<br>  connect(thermalAmbient.thermalPort, internalThermalPort);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(strayLoad.plug_n, rs.plug_p);<br> ... <br>  connect(strayLoad.flange, inertiaRotor.flange_b);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(internalThermalPort, thermalPort);<br>  connect(thermalAmbient.thermalPort, internalThermalPort);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Interfaces.PartialBasicDCMachine</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wNominal<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(la.p, ra.n);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(thermalPort, internalThermalPort);<br>  connect(thermalAmbient.thermalPort, internalThermalPort);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(brush.n, pin_an);<br> ... <br>  connect(inertiaRotor.flange_b, strayLoad.flange);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(thermalAmbient.thermalPort, internalThermalPort);<br>  connect(internalThermalPort, thermalPort);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">record Electrical.Machines.Utilities.ParameterRecords.DcPermanentMagnetData</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wNominal<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Electrical.Machines.Utilities.VfController</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Electrical.Machines.Utilities.ToDQ</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 154px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">toSpacePhasor<br></td><td style="text-align: left; vertical-align: middle;">final m=m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">rotator<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">rotator2<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">y<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">u<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(phi, toGamma.u);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(rotator.</span>angle, toGamma.y);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(rotator2.</span>angle, toGamma.y);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(toSpacePhasor.</span>y, <span style="color: rgb(0, 153, 0); font-weight: bold;">rotator.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">u);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(rotator2.</span>y, <span style="color: rgb(102, 0, 204); font-weight: bold;">y);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(u, toSpacePhasor.u);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(rotator.</span>y, <span style="color: rgb(0, 153, 0); font-weight: bold;">y);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(toSpacePhasor.</span>y, <span style="color: rgb(102, 0, 204); font-weight: bold;">rotator2.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">u);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Electrical.Machines.Utilities.FromDQ</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 154px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">fromSpacePhasor<br></td><td style="text-align: left; vertical-align: middle;">final m=m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">rotator<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">rotator2<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">y<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">u<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(phi, toGamma.u);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(rotator.</span>angle, toGamma.y);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(rotator2.</span>angle, toGamma.y);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(rotator.</span>y, fromSpacePhasor.u);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(rotator2.</span>y, fromSpacePhasor.u);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(i0.y, fromSpacePhasor.zero);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(u, rotator.u);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(fromSpacePhasor.y, y);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(rotator2.u, u);<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.MultiPhase.Ideal.IdealThyristor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">off<br></td><td style="text-align: left; vertical-align: middle;">=idealThyristor.off<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">start=fill(true, m)<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  off = idealThyristor.off;<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(plug_p.pin, idealThyristor.p);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">voltageSource<br></td><td style="text-align: left; vertical-align: middle;">gamma(fixed=true, start=0)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">I_abs<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">I_arg<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">connect(f.y, voltageSource.f);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">initial equation<br></span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  voltageSource.pin_p.reference.gamma = 0;<br><br>equation<br>&nbsp&nbspconnect(f.y, voltageSource.f);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(polarToComplex.y, voltageSource.V);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">currentSource<br></td><td style="text-align: left; vertical-align: middle;">gamma(fixed=true, start=0)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">V_abs<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">V_arg<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">connect(currentSource.pin_n, resistor.pin_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">initial equation<br></span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  currentSource.pin_p.reference.gamma = 0;<br><br>equation<br>&nbsp&nbspconnect(currentSource.pin_n, resistor.pin_p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(currentSource.pin_n, inductor.pin_p);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.SinglePhase.Examples.Rectifier</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">voltageQS<br></td><td style="text-align: left; vertical-align: middle;">gamma(fixed=true, start=0)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Itr<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Iqs<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">connect(voltageQS.pin_p, resistorQS.pin_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">initial equation<br></span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  voltageQS.pin_p.reference.gamma = 0;<br><br>equation<br>&nbsp&nbspconnect(voltageQS.pin_p, resistorQS.pin_p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(voltageQS.pin_n, rectifierQS.pin_nQS);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.SinglePhase.Sensors.PotentialSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.SinglePhase.Sensors.VoltageSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.SinglePhase.Sensors.CurrentSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.SinglePhase.Sensors.PowerSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.SinglePhase.Interfaces.TwoPin</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 198px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_v<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_v<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">P<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Q<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">S<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pf<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.SinglePhase.Interfaces.Source</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">gamma<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.Machines.Examples.TransformerTestbench</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 308px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">source<br></td><td style="text-align: left; vertical-align: middle;">gamma(fixed=true, start=0)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">polarIS<br></td><td style="text-align: left; vertical-align: middle;"> <br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">polarVS<br></td><td style="text-align: left; vertical-align: middle;"> <br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">polarVL<br></td><td style="text-align: left; vertical-align: middle;"> <br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">polarIL<br></td><td style="text-align: left; vertical-align: middle;"> <br></td><td style="text-align: left; vertical-align: middle;">sizes= -1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">VS<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">phiS<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">VL<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">phiL<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">symmetricalComponentsIS<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">symmetricalComponentsIL<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">symmetricalComponentsVS<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">symmetricalComponentsVL<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">connect(starS.pin_n, groundS.pin);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">initial equation<br></span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  source.voltageSource.pin_p.reference.gamma=zeros(m);<br><br>equation<br>&nbsp&nbspconnect(starS.pin_n, groundS.pin);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(source.plug_n, starS.plug_p);<br> ... <br>  connect(currentSensorL.plug_p, deltaL.plug_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(symmetricalComponentsIS.</span>u, currentSensorS.y);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(polarIS.</span>u, currentSensorS.y);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(symmetricalComponentsIL.</span>u, currentSensorL.y);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(polarIL.</span>u, currentSensorL.y);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(symmetricalComponentsIS.y[1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">polarIS.</span>u);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(voltageSensorS.y,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">polarVS.</span>u);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(symmetricalComponentsIL.y[1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">polarIL.</span>u);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(voltageSensorL.y,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">polarVL.</span>u);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(voltageSensorS.y, symmetricalComponentsVS.u);<br>  connect(symmetricalComponentsVS.y[1], polarVS.u);<br>  connect(voltageSensorL.y, symmetricalComponentsVL.u);<br>  connect(symmetricalComponentsVL.y[1], polarVL.u);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;"><b>constant</b><br></td><td style="text-align: left; vertical-align: middle;"><b>parameter</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">voltageSource<br></td><td style="text-align: left; vertical-align: middle;">gamma(fixed=true, start=0)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">complexToPolar<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">connect(ground.pin, star.pin_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">initial equation<br></span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  voltageSource.voltageSource.pin_p.reference.gamma = zeros(m);<br><br>equation<br>&nbsp&nbspconnect(ground.pin, star.pin_n);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star.plug_p, voltageSource.plug_n);<br> ... <br>  connect(currentSensor0.pin_n, star.pin_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(currentSensor.y, complexToPolar.u);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">voltageSource<br></td><td style="text-align: left; vertical-align: middle;">gamma(fixed=true, start=0)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">connect(ground.pin, star.pin_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">initial equation<br></span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  voltageSource.voltageSource.pin_p.reference.gamma = zeros(m);<br><br>equation<br>&nbsp&nbspconnect(ground.pin, star.pin_n);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star.plug_p, voltageSource.plug_n);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Sensors.PotentialSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Sensors.VoltageSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Sensors.CurrentSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Sensors.PowerSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_y<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Sources.VoltageSource</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">voltageSource<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">omega = 2*Modelica.Constants.pi*f;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(plugToPins_p.pin_p, voltageSource.pin_p);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">v = {V[k]*exp(j*phi[k]) for k </span><span style="color: rgb(0, 153, 0); font-weight: bold;">in 1:m};</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(voltageSource.pin_n, plugToPins_n.pin_n);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Sources.VariableVoltageSource</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">variableVoltageSource<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">omega = 2*Modelica.Constants.pi*f;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">for j in 1:m loop</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">v = V;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">   </span><span style="color: rgb(102, 0, 204); font-weight: bold;"> connect(f, variableVoltageSource[j].f);</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  end for;<br>  connect(plugToPins_p.pin_p, variableVoltageSource.pin_p);<br>  connect(variableVoltageSource.pin_n, plugToPins_n.pin_n);<br>  connect(V, variableVoltageSource.V);<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Sources.CurrentSource</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">currentSource<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">omega = 2*Modelica.Constants.pi*f;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(plugToPins_p.pin_p, currentSource.pin_p);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">i = {I[k]*exp(j*phi[k]) for k </span><span style="color: rgb(0, 153, 0); font-weight: bold;">in 1:m};</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(currentSource.pin_n, plugToPins_n.pin_n);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Sources.VariableCurrentSource</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">variableCurrentSource<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">omega = 2*Modelica.Constants.pi*f;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">for j in 1:m loop</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">i = I;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">   </span><span style="color: rgb(102, 0, 204); font-weight: bold;"> connect(f, variableCurrentSource[j].f);</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  end for;<br>  connect(plugToPins_p.pin_p, variableCurrentSource.pin_p);<br>  connect(variableCurrentSource.pin_n, plugToPins_n.pin_n);<br>  connect(I, variableCurrentSource.I);<br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Interfaces.TwoPlug</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 264px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_v<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_v<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">P<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">P_total<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Q<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Q_total<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">S<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">S_total<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pf<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Interfaces.OnePort</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 264px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_v<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_v<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">P<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">P_total<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Q<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Q_total<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">S<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">S_total<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pf<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Interfaces.Source</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">gamma<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  Connections.root(plug_p.reference);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Sources.V_sin</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Sources.V_sffm</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Sources.I_sin</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Sources.I_sffm</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Internal.MOS</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  assert( NRD <span style="color: rgb(0, 153, 0); font-weight: bold;">&gt; </span>0, "NRD, length of drain in squares, must be <span style="color: rgb(0, 153, 0); font-weight: bold;">greater </span><span style="color: rgb(0, 153, 0); font-weight: bold;">than zero");</span>
</td>
<td style="vertical-align: middle; text-align: left;">  assert( NRD <span style="color: rgb(102, 0, 204); font-weight: bold;">&lt;&gt; </span>0, "NRD, length of drain in squares, must <span style="color: rgb(102, 0, 204); font-weight: bold;">not </span>be <span style="color: rgb(102, 0, 204); font-weight: bold;">zero");</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  assert( NRS <span style="color: rgb(0, 153, 0); font-weight: bold;">&gt; </span>0, "NRS, length of source in squares, must be <span style="color: rgb(0, 153, 0); font-weight: bold;">greater </span><span style="color: rgb(0, 153, 0); font-weight: bold;">than zero");</span>
</td>
<td style="vertical-align: middle; text-align: left;">  assert( NRS <span style="color: rgb(102, 0, 204); font-weight: bold;">&lt;&gt; </span>0, "NRS, length of source in squares, must <span style="color: rgb(102, 0, 204); font-weight: bold;">not </span>be <span style="color: rgb(102, 0, 204); font-weight: bold;">zero");</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  vDS = D.v - S.v;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Internal.MOS2</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  assert( NRD <span style="color: rgb(0, 153, 0); font-weight: bold;">&gt; </span>0, "NRD, length of drain in squares, must be <span style="color: rgb(0, 153, 0); font-weight: bold;">greater </span><span style="color: rgb(0, 153, 0); font-weight: bold;">than zero");</span>
</td>
<td style="vertical-align: middle; text-align: left;">  assert( NRD <span style="color: rgb(102, 0, 204); font-weight: bold;">&lt;&gt; </span>0, "NRD, length of drain in squares, must <span style="color: rgb(102, 0, 204); font-weight: bold;">not </span>be <span style="color: rgb(102, 0, 204); font-weight: bold;">zero");</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  assert( NRS <span style="color: rgb(0, 153, 0); font-weight: bold;">&gt; </span>0, "NRS, length of source in squares, must be <span style="color: rgb(0, 153, 0); font-weight: bold;">greater </span><span style="color: rgb(0, 153, 0); font-weight: bold;">than zero");</span>
</td>
<td style="vertical-align: middle; text-align: left;">  assert( NRS <span style="color: rgb(102, 0, 204); font-weight: bold;">&lt;&gt; </span>0, "NRS, length of source in squares, must <span style="color: rgb(102, 0, 204); font-weight: bold;">not </span>be <span style="color: rgb(102, 0, 204); font-weight: bold;">zero");</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">    cc = Spice3.Internal.Mos.mos2CalcNoBypassCodeRevised(<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspm1,<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspm_type,<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspc22,<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspp1,<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspm_bInit,<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{G.v,B.v,Dinternal,Sinternal});<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Internal.C_SEMI</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  if (cp.m_dCapIsGiven &lt; 0.5) then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      assert( L &gt; 0, "Length of capacitor must be greater <span style="color: rgb(0, 153, 0); font-weight: bold;">than </span>zero");
</td>
<td style="vertical-align: middle; text-align: left;">      assert( L &gt; 0, "Length of capacitor must be greater <span style="color: rgb(102, 0, 204); font-weight: bold;">then </span>zero");
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end if;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">record Electrical.Spice3.Internal.SpiceConstants</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">CONSTvt0<br></td><td style="text-align: left; vertical-align: middle;">=Modelica.Constants.k*SI.Conversions.from_degC(27)/CHARGE<br></td><td style="text-align: left; vertical-align: middle;">=Modelica_3_2_1_Build_4.Constants.k*Modelica_3_2_1_Build_4.SIunits.Conversions.from_degC(27)/CHARGE<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FluxTubes.Examples.SaturatedInductor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">r_mFe<br></td><td style="text-align: left; vertical-align: middle;">material=Material.SoftMagnetic.ElectricSheet.M350_50A()<br></td><td style="text-align: left; vertical-align: middle;">material=Modelica_3_2_1_Build_4.Magnetic.FluxTubes.Material.SoftMagnetic.ElectricSheet.M350_50A()<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pmActuator<br></td><td style="text-align: left; vertical-align: middle;">material=Material.HardMagnetic.PlasticNdFeB()<br></td><td style="text-align: left; vertical-align: middle;">material=Modelica_3_2_1_Build_4.Magnetic.FluxTubes.Material.HardMagnetic.PlasticNdFeB()<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">actuator<br></td><td style="text-align: left; vertical-align: middle;">material=Material.HardMagnetic.PlasticNdFeB()<br></td><td style="text-align: left; vertical-align: middle;">material=Modelica_3_2_1_Build_4.Magnetic.FluxTubes.Material.HardMagnetic.PlasticNdFeB()<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pmActuator<br></td><td style="text-align: left; vertical-align: middle;">material=Material.HardMagnetic.PlasticNdFeB()<br></td><td style="text-align: left; vertical-align: middle;">material=Modelica_3_2_1_Build_4.Magnetic.FluxTubes.Material.HardMagnetic.PlasticNdFeB()<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FluxTubes.Examples.MovingCoilActuator.Components.PermeanceActuator</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">material<br></td><td style="text-align: left; vertical-align: middle;">=Material.HardMagnetic.BaseData()<br></td><td style="text-align: left; vertical-align: middle;">=Modelica_3_2_1_Build_4.Magnetic.FluxTubes.Material.HardMagnetic.BaseData()<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FluxTubes.Examples.SolenoidActuator.Components.SimpleSolenoid</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">material<br></td><td style="text-align: left; vertical-align: middle;">=Material.SoftMagnetic.Steel.Steel_9SMnPb28()<br></td><td style="text-align: left; vertical-align: middle;">=Modelica_3_2_1_Build_4.Magnetic.FluxTubes.Material.SoftMagnetic.Steel.Steel_9SMnPb28()<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FluxTubes.Examples.SolenoidActuator.Components.AdvancedSolenoid</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">material<br></td><td style="text-align: left; vertical-align: middle;">=Material.SoftMagnetic.Steel.Steel_9SMnPb28()<br></td><td style="text-align: left; vertical-align: middle;">=Modelica_3_2_1_Build_4.Magnetic.FluxTubes.Material.SoftMagnetic.Steel.Steel_9SMnPb28()<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FluxTubes.Basic.EddyCurrent</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">useConductance<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">G<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  LossPower = V_m*der(Phi);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  V_m <span style="color: rgb(0, 153, 0); font-weight: bold;">=(if useConductance </span><span style="color: rgb(0, 153, 0); font-weight: bold;">then G else 1/R) * der(Phi);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  V_m <span style="color: rgb(102, 0, 204); font-weight: bold;">= 1/R*der(Phi);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FluxTubes.Interfaces.PartialFixedShape</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">material<br></td><td style="text-align: left; vertical-align: middle;">=Material.SoftMagnetic.BaseData()<br></td><td style="text-align: left; vertical-align: middle;">=Modelica_3_2_1_Build_4.Magnetic.FluxTubes.Material.SoftMagnetic.BaseData()<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">B_N<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"> <span style="color: rgb(0, 153, 0); font-weight: bold;"> B_N = abs(B/material.B_myMax);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">mu_r = if nonLinearPermeability then<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Magnetic.FluxTubes.Material.SoftMagnetic.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">mu_rApprox(<br>  B,<br>  material.mu_i,<br>  material.B_myMax,<br>  material.c_a,<br>  material.c_b,<br>  material.n) else mu_rConst;</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  mu_r = if nonLinearPermeability then<br>&nbsp&nbsp&nbsp&nbsp1 + (material.mu_i - 1 + material.c_a*B_N)/(1 + material.c_b*B_N + B_N^material.n) else mu_rConst;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  R_m = 1/G_m;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">w_Load<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  aimcM.is = zeros(m);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  aimcM.<span style="color: rgb(0, 153, 0); font-weight: bold;">rotorCage.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">electroMagneticConverter.Phi </span>= <span style="color: rgb(0, 153, 0); font-weight: bold;">Complex(0,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"> 0);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  aimcM.<span style="color: rgb(102, 0, 204); font-weight: bold;">ir[1:2] </span>= <span style="color: rgb(102, 0, 204); font-weight: bold;">zeros(2);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">w_Load<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  aimcM.is[1:2] = zeros(2);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  aimcM.<span style="color: rgb(0, 153, 0); font-weight: bold;">rotorCage.electroMagneticConverter.Phi </span>= <span style="color: rgb(0, 153, 0); font-weight: bold;">Complex(0, 0);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  aimcM.<span style="color: rgb(102, 0, 204); font-weight: bold;">ir[1:m - 1] </span>= <span style="color: rgb(102, 0, 204); font-weight: bold;">zeros(m - 1);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">w_Load<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">w_Load<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smpmM<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smpmE<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smpmM<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smpm3<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smeeM<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smee3<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smrM<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smrE<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smrM<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smr3<br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Components.SinglePhaseElectroMagneticConverter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Components.MultiPhaseElectroMagneticConverter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.BasicMachines.AsynchronousInductionMachines.AIM_SquirrelCage</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ir<br></td><td style="text-align: left; vertical-align: middle;">=rotorCage.i<br></td><td style="text-align: left; vertical-align: middle;">=rotorCage.winding.plug_p.pin.i<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.BasicMachines.Components.SinglePhaseWinding</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 198px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.BasicMachines.Components.SymmetricMultiPhaseWinding</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 198px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">i<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.BasicMachines.Components.SymmetricMultiPhaseCageWinding</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 132px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">i<br></td><td style="text-align: left; vertical-align: middle;">=electroMagneticConverter.i<br></td><td style="text-align: left; vertical-align: middle;">=strayInductor.i<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">electroMagneticConverter<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">strayReluctance<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">winding<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">strayInductor<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(port_p, <span style="color: rgb(0, 153, 0); font-weight: bold;">electroMagneticConverter.</span>port_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(port_p, <span style="color: rgb(102, 0, 204); font-weight: bold;">winding.</span>port_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(electroMagneticConverter.</span>port_n, port_n);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(winding.</span>port_n, port_n);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(ground.p, star.pin_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(star.plug_p,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">electroMagneticConverter.plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(strayInductor.plug_n,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">resistor.plug_p);</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(strayInductor.plug_p, winding.plug_p);<br>  connect(star.plug_p, winding.plug_n);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(thermalCollector.port_a, resistor.heatPort);<br> ... <br>  connect(resistor.plug_n, starAuxiliary.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(strayReluctance.port_p, port_p);<br>  connect(strayReluctance.port_n, port_n);<br>  connect(electroMagneticConverter.plug_p, resistor.plug_p);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.BasicMachines.Components.SaliencyCageWinding</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 132px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">i<br></td><td style="text-align: left; vertical-align: middle;">=electroMagneticConverter.i<br></td><td style="text-align: left; vertical-align: middle;">=-strayInductor.i<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">electroMagneticConverter<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">strayReluctance<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">winding<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">strayInductor<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(port_p, <span style="color: rgb(0, 153, 0); font-weight: bold;">electroMagneticConverter.</span>port_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(port_p, <span style="color: rgb(102, 0, 204); font-weight: bold;">winding.</span>port_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(electroMagneticConverter.</span>port_n, port_n);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(winding.</span>port_n, port_n);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(ground.p, star.pin_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(electroMagneticConverter.</span>plug_n, resistor.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(strayInductor.</span>plug_n, resistor.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(star.plug_p,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">electroMagneticConverter.</span>plug_n);
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(winding.plug_n,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">resistor.</span>plug_n);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(star.plug_p, winding.plug_n);<br>  connect(strayInductor.plug_p, winding.plug_p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(thermalCollector.port_b, heatPortWinding);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(resistor.heatPort, thermalCollector.port_a);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(electroMagneticConverter.plug_p, resistor.plug_p);<br>  connect(strayReluctance.port_p, port_p);<br>  connect(strayReluctance.port_n, port_n);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Sources.ConstantMagneticPotentialDifference</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Sources.SignalMagneticPotentialDifference</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Sources.ConstantFlux</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Sources.SignalFlux</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Interfaces.PartialTwoPortElementary</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_V_m<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">abs_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">arg_Phi<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Interfaces.PartialBasicInductionMachine</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wMechanical<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Angle</b><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><b>protected</b><br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>equation<br>&nbsp&nbspconnect(stator.plug_n, plug_sn);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(thermalPort, internalThermalPort);<br>  connect(thermalAmbient.thermalPort, internalThermalPort);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(inertiaRotor.flange_b, flange);<br> ... <br>  connect(stator.heatPortCore, internalThermalPort.heatPortStatorCore);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(thermalAmbient.thermalPort, internalThermalPort);<br>  connect(internalThermalPort, thermalPort);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Examples.Loops.Utilities.GasForce</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Examples.Loops.Utilities.GasForce2</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">mounting1D1<br></td><td style="text-align: left; vertical-align: middle;">n={0,1,0}<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">mounting1D2<br></td><td style="text-align: left; vertical-align: middle;">n={0,1,0}<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">gearConstraint<br></td><td style="text-align: left; vertical-align: middle;">checkTotalPower=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Joints.GearConstraint</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">checkTotalPower<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">totalPower<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  a_b = der(w_b);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  if checkTotalPower then<br>      totalPower =<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspframe_a.f*Frames.resolve2(frame_a.R, der(frame_a.r_0)) +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspframe_b.f*Frames.resolve2(frame_b.R, der(frame_b.r_0)) +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspbearing.f*Frames.resolve2(bearing.R, der(bearing.r_0)) +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspframe_a.t*Frames.angularVelocity2(frame_a.R) +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspframe_b.t*Frames.angularVelocity2(frame_b.R) +<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspbearing.t*Frames.angularVelocity2(bearing.R);<br>  else<br>      totalPower = 0;<br>  end if;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(actuatedRevolute_a.axis, idealGear.flange_a);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Parts.BodyCylinder</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Mechanics.MultiBody.Visualizers.Colors.ColorMaps.jet</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">b<br></td><td style="text-align: left; vertical-align: middle;"><b>Integer</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">c<br></td><td style="text-align: left; vertical-align: middle;"><b>Integer</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Examples.LossyGearDemo1</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Inertia2<br></td><td style="text-align: left; vertical-align: middle;">phi(fixed=true, start=0, nominal=0.001)<br></td><td style="text-align: left; vertical-align: middle;">phi(fixed=true, start=0)<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">w(fixed=true, start=0, nominal=0.01)<br></td><td style="text-align: left; vertical-align: middle;">w(fixed=true, start=0)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Examples.LossyGearDemo2</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Inertia2<br></td><td style="text-align: left; vertical-align: middle;">phi(fixed=true, start=0, nominal=1e-4)<br></td><td style="text-align: left; vertical-align: middle;">phi(fixed=true, start=0)<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">w(fixed=true, start=0, nominal=0.001)<br></td><td style="text-align: left; vertical-align: middle;">w(fixed=true, start=0)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Examples.ElasticBearing</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">springDamper<br></td><td style="text-align: left; vertical-align: middle;">w_rel(fixed=true, nominal=1e-4)<br></td><td style="text-align: left; vertical-align: middle;">w_rel(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Examples.Backlash</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">fixed3<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">elastoBacklash2<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">inertia3<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(fixed2.flange, elastoBacklash.flange_a);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(elastoBacklash2.flange_b, inertia3.flange_a);<br>  connect(fixed3.flange, elastoBacklash2.flange_a);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Examples.Utilities.InverseInertia</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">J<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Components.BearingFriction</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>tau0 = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(tau_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">tau_pos[:,2], </span>0, <span style="color: rgb(0, 153, 0); font-weight: bold;">1);</span>
</td>
<td style="vertical-align: middle; text-align: left;">tau0 = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> 0,<br> <span style="color: rgb(102, 0, 204); font-weight: bold;"> </span><span style="color: rgb(102, 0, 204); font-weight: bold;">tau_pos,<br>  2);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  tau0_max = peak*tau0;<br> ... <br>  flange_a.tau + flange_b.tau - tau = 0;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>tau = if locked then sa*unitTorque else <span style="color: rgb(0, 153, 0); font-weight: bold;">(<br> </span>   <span style="color: rgb(0, 153, 0); font-weight: bold;">if startForward then<br> </span>     <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.Math.Vectors.interpolate(tau_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">tau_pos[:,</span><span style="color: rgb(0, 153, 0); font-weight: bold;">2],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">w,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">1)<br> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">   </span>else if <span style="color: rgb(0, 153, 0); font-weight: bold;">startBackward then<br>      -Modelica.Math.Vectors.interpolate(tau_pos[:,1], tau_pos[:,2], -w, 1)<br>    else if </span>pre(mode) == Forward then<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.Math.Vectors.interpolate(tau_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">tau_pos[:,</span><span style="color: rgb(0, 153, 0); font-weight: bold;">2], w, 1)<br>    </span>else<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">-Modelica.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">Math.Vectors.interpolate(tau_pos[:,1], tau_pos[:,2], -w, 1));</span>
</td>
<td style="vertical-align: middle; text-align: left;">tau = if locked then sa*unitTorque else <span style="color: rgb(102, 0, 204); font-weight: bold;">(if </span><span style="color: rgb(102, 0, 204); font-weight: bold;">startForward then<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">w,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">tau_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) else if startBackward then -Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">-w,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">tau_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) </span>else if pre(mode) == Forward then<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">w,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">tau_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) </span>else <span style="color: rgb(102, 0, 204); font-weight: bold;">-Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">-w,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">tau_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  lossPower = tau*w_relfric;
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Components.Brake</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>mue0 = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(mue_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,2], </span>0, <span style="color: rgb(0, 153, 0); font-weight: bold;">1);</span>
</td>
<td style="vertical-align: middle; text-align: left;">mue0 = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> 0,<br> <span style="color: rgb(102, 0, 204); font-weight: bold;"> </span><span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,<br>  2);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  phi = flange_a.phi - phi_support;<br> ... <br>  free = fn &lt;= 0;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>tau = if locked then sa*unitTorque else if free then 0 else <span style="color: rgb(0, 153, 0); font-weight: bold;">cgeo*fn*(<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;">  if </span>startForward then<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(mue_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,2], w, 1)<br>    else if startBackward then<br>      -Modelica.Math.Vectors.interpolate(mue_pos[:,1], mue_pos[:,2], </span>-w, <span style="color: rgb(0, 153, 0); font-weight: bold;">1)<br> </span>   else if pre(mode) == Forward then<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.Math.Vectors.interpolate(mue_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,</span><span style="color: rgb(0, 153, 0); font-weight: bold;">2], w, 1)<br>    </span>else<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">-Modelica.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">Math.Vectors.interpolate(mue_pos[:,1], mue_pos[:,2], -w, 1));</span>
</td>
<td style="vertical-align: middle; text-align: left;">tau = if locked then sa*unitTorque else if free then 0 else <span style="color: rgb(102, 0, 204); font-weight: bold;">cgeo*fn*(if<br> </span> startForward then <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">w,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else if startBackward then -Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> -w,<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) </span>else if pre(mode) == Forward then<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">w,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) </span>else <span style="color: rgb(102, 0, 204); font-weight: bold;">-Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">-w,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  lossPower = tau*w_relfric;
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Components.Clutch</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>mue0 = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(mue_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,2], </span>0, <span style="color: rgb(0, 153, 0); font-weight: bold;">1);</span>
</td>
<td style="vertical-align: middle; text-align: left;">mue0 = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> 0,<br> <span style="color: rgb(102, 0, 204); font-weight: bold;"> </span><span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,<br>  2);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  w_relfric = w_rel;<br> ... <br>  tau0_max = peak*tau0;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>tau = if locked then sa*unitTorque else if free then 0 else <span style="color: rgb(0, 153, 0); font-weight: bold;">cgeo*fn*(<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;">  if </span>startForward then<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(mue_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,</span><span style="color: rgb(0, 153, 0); font-weight: bold;">2],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">w_rel,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">1)<br> </span>   else <span style="color: rgb(0, 153, 0); font-weight: bold;">if </span><span style="color: rgb(0, 153, 0); font-weight: bold;">startBackward then<br>      -Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(mue_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,</span><span style="color: rgb(0, 153, 0); font-weight: bold;">2],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">w_rel,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">1)<br> </span>  <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">else if pre(mode) == Forward then<br>      Modelica.Math.Vectors.interpolate(mue_pos[:,1], mue_pos[:,2], w_rel, 1)<br>    else<br>      -Modelica.Math.Vectors.interpolate(mue_pos[:,1], mue_pos[:,2], -w_rel, 1));</span>
</td>
<td style="vertical-align: middle; text-align: left;">tau = if locked then sa*unitTorque else if free then 0 else <span style="color: rgb(102, 0, 204); font-weight: bold;">cgeo*fn*(if<br> </span> startForward then <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">w_rel,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else if startBackward then -Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">-w_rel,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) else if pre(mode) == Forward then<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br>  w_rel,<br>  mue_pos,<br>  2) </span>else <span style="color: rgb(102, 0, 204); font-weight: bold;">-Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">-w_rel,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  lossPower = tau*w_relfric;
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Components.OneWayClutch</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>mue0 = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(mue_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,2], </span>0, <span style="color: rgb(0, 153, 0); font-weight: bold;">1);</span>
</td>
<td style="vertical-align: middle; text-align: left;">mue0 = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> 0,<br> <span style="color: rgb(102, 0, 204); font-weight: bold;"> </span><span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,<br>  2);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  tau0_max_low = eps0*mue0*cgeo*fn_max;<br> ... <br>  a_rel = unitAngularAcceleration*(if locked then 0 else sa - tau0/<br>&nbsp&nbsp&nbsp&nbspunitTorque);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>tau = if locked then sa*unitTorque else (if free then 0 else cgeo*fn*<br>    <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.Math.Vectors.interpolate(mue_pos[:,1],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,</span><span style="color: rgb(0, 153, 0); font-weight: bold;">2],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">w_rel,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">1));</span>
</td>
<td style="vertical-align: middle; text-align: left;">tau = if locked then sa*unitTorque else (if free then 0 else cgeo*fn*<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">w_rel,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  stuck = locked or w_rel &lt;= 0;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Sources.ConstantTorque</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">w<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  w = der(phi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  tau = -flange.tau;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Translational.Components.SupportFriction</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>f0 = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(<br> </span>     <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;"> f_pos[:, 1],<br>        f_pos[:, 2],<br>        0,<br>        1);</span>
</td>
<td style="vertical-align: middle; text-align: left;">f0 = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">0,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">f_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  f0_max = peak*f0;<br> ... <br>  flange_a.f + flange_b.f - f = 0;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>f = if locked then sa*unitForce else (if startForward then<br>    <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.Math.Vectors.interpolate(<br> </span>       <span style="color: rgb(0, 153, 0); font-weight: bold;">f_pos[:,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">1],</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">f_pos[:,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">2],</span><br>  <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">     v,<br>        1) else if startBackward then -Modelica.Math.Vectors.interpolate(<br>        f_pos[:, 1],<br>        f_pos[:, 2],<br>        -v,<br>        1) else if pre(mode) == Forward then<br>    Modelica.Math.Vectors.interpolate(<br>        f_pos[:, 1],<br>        f_pos[:, 2],<br>        v,<br>        1) else -Modelica.Math.Vectors.interpolate(<br>        f_pos[:, 1],<br>        f_pos[:, 2],<br>        -v,<br>        1));</span>
</td>
<td style="vertical-align: middle; text-align: left;">f = if locked then sa*unitForce else (if startForward then<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">v,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">f_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) else if startBackward then -Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">-v,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">f_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else if pre(mode) == Forward then<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">v,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">f_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) else -Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">-v,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">f_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  lossPower = f*v_relfric;
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Translational.Components.Brake</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>mue0 = <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(<br> </span>     <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;"> mue_pos[:, 1],<br>        mue_pos[:, 2],<br>        0,<br>        1);</span>
</td>
<td style="vertical-align: middle; text-align: left;">mue0 = <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">0,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  s = s_a;<br> ... <br>  free = fn &lt;= 0;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>f = if locked then sa*unitForce else if free then 0 else cgeo*fn*(if<br>  <span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>startForward then <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">Vectors.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">interpolate(<br> </span>       <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">1],</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">mue_pos[:,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">2],</span><br>    <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">   v,<br>        1) else if startBackward then -Modelica.Math.Vectors.interpolate(<br>        mue_pos[:, 1],<br>        mue_pos[:, 2],<br>        -v,<br>        1) else if pre(mode) == Forward then<br>    Modelica.Math.Vectors.interpolate(<br>        mue_pos[:, 1],<br>        mue_pos[:, 2],<br>        v,<br>        1) else -Modelica.Math.Vectors.interpolate(<br>        mue_pos[:, 1],<br>        mue_pos[:, 2],<br>        -v,<br>        1));</span>
</td>
<td style="vertical-align: middle; text-align: left;">f = if locked then sa*unitForce else if free then 0 else cgeo*fn*(if<br>  startForward then <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">v,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) else if startBackward then -Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">-v,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) else if pre(mode) == Forward then<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">v,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else -Modelica_3_2_1_Build_4.Math.tempInterpol1(<br> </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">-v,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">mue_pos,</span><br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">2));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  lossPower = f*v_relfric;
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.PumpingSystem</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">pumps<br></td><td style="text-align: left; vertical-align: middle;">p_b_start=600000<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">T_start=system.T_start<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.HeatingSystem</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">radiator<br></td><td style="text-align: left; vertical-align: middle;">state_a(p(start=110000))<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">state_b(p(start=110000))<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.Tanks.TanksWithOverflow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 154px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">upperTank<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.CompressibleLiquids.LinearColdWater<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.Water.StandardWater<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">massFlowRate<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.CompressibleLiquids.LinearColdWater<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.Water.StandardWater<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pressure<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.CompressibleLiquids.LinearColdWater<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.Water.StandardWater<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pipe<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.CompressibleLiquids.LinearColdWater<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.Water.StandardWater<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lowerTank<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.CompressibleLiquids.LinearColdWater<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.Water.StandardWater<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">overflow<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.CompressibleLiquids.LinearColdWater<br></td><td style="text-align: left; vertical-align: middle;">redeclare package Medium = Modelica.Media.Water.StandardWater<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.TraceSubstances.RoomCO2WithControls</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">volume<br></td><td style="text-align: left; vertical-align: middle;">medium(Xi(nominal=0.01))<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">ductOut<br></td><td style="text-align: left; vertical-align: middle;">mCs_scaled(each nominal=0.01)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">mediums(each Xi(nominal=0.01))<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">ductIn<br></td><td style="text-align: left; vertical-align: middle;">mCs_scaled(each nominal=0.01)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">mediums(each Xi(nominal=0.01))<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.QuadraticTurbulent.massFlowRate_dp</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.QuadraticTurbulent.pressureLoss_m_flow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.QuadraticTurbulent.massFlowRate_dp_staticHead</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.QuadraticTurbulent.pressureLoss_m_flow_staticHead</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.LaminarAndQuadraticTurbulent.massFlowRate_dp</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.LaminarAndQuadraticTurbulent.pressureLoss_m_flow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.Detailed.pressureLoss_m_flow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Machines.PrescribedPump</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">N_in<br></td><td style="text-align: left; vertical-align: middle;">unit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">unit="1/min"<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">N_in_internal<br></td><td style="text-align: left; vertical-align: middle;">unit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">unit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Machines.BaseClasses.PumpCharacteristics.polynomialFlow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">max_dhdV<br></td><td style="text-align: left; vertical-align: middle;">=c[2] + max(sum((i - 1)*V_flow_nominal .^ (i - 2)*c[i] for i in 3:N))<br></td><td style="text-align: left; vertical-align: middle;">=max({c[2] .+ sum((i - 1)*V_flow_nominal .^ (i - 2)*c[i] for i in 3:N)})<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Fittings.BaseClasses.QuadraticTurbulent.massFlowRate_dp_and_Re</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Fittings.BaseClasses.QuadraticTurbulent.pressureLoss_m_flow_and_Re</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Sources.FixedBoundary</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">d<br></td><td style="text-align: left; vertical-align: middle;">=(if use_T then Medium.density_pTX(Medium.p_default, Medium.T_default, Medium.X_default) else Medium.density_phX(Medium.p_default, Medium.h_default, Medium.X_default))<br></td><td style="text-align: left; vertical-align: middle;">=Medium.density_pTX(Medium.p_default, Medium.T_default, Medium.X_default)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.Utilities.Functions.General.SmoothPower_der</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  adeltax := abs(deltax);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(0, 153, 0); font-weight: bold;">x </span>&gt;= <span style="color: rgb(0, 153, 0); font-weight: bold;">adeltax </span>then
</td>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(102, 0, 204); font-weight: bold;">noEvent(x </span>&gt;= <span style="color: rgb(102, 0, 204); font-weight: bold;">adeltax) </span>then
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      dy =  dx*pow*x^(pow - 1);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  elseif <span style="color: rgb(0, 153, 0); font-weight: bold;">x </span>&lt;= <span style="color: rgb(0, 153, 0); font-weight: bold;">-adeltax </span>then
</td>
<td style="vertical-align: middle; text-align: left;">  elseif <span style="color: rgb(102, 0, 204); font-weight: bold;">noEvent(x </span>&lt;= <span style="color: rgb(102, 0, 204); font-weight: bold;">-adeltax) </span>then
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      dy =  dx*pow*(-x)^(pow - 1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Media.Examples.TestOnly.MixIdealGasAir</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">medium2<br></td><td style="text-align: left; vertical-align: middle;">X(start={0.2,0.8}, fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">X(start={0.2,0.8}, each fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Media.Examples.TestOnly.FlueGas</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">medium2<br></td><td style="text-align: left; vertical-align: middle;">X(start={0.2,0.1,0.3,0.4}, fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">X(start={0.2,0.1,0.3,0.4}, each fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Interfaces.PartialLinearFluid.setState_dTX</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(p=((d - reference_d) + <span style="color: rgb(0, 153, 0); font-weight: bold;">(T </span>- reference_T)<br>    *beta_const*reference_d)/(reference_d*kappa_const) + reference_p, T=T);
</td>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(p=((d - reference_d) + <span style="color: rgb(102, 0, 204); font-weight: bold;">(state.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">T </span>- reference_T)<br>    *beta_const*reference_d)/(reference_d*kappa_const) + reference_p, T=T);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">record Media.Interfaces.PartialMixtureMedium.ThermodynamicState</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">X<br></td><td style="text-align: left; vertical-align: middle;">start=reference_X<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">package Media.Air.ReferenceAir</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="36" style="vertical-align: middle;">airConstants<br></td><td style="text-align: left; vertical-align: middle;">chemicalFormula="N2+O2+Ar"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">structureFormula="N2+O2+Ar"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">casRegistryNumber="1"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">iupacName="air"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">molarMass=0.02896546<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">criticalTemperature=132.5306<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">criticalPressure=3.786e6<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">criticalMolarVolume=0.02896546/342.68<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">triplePointTemperature=63.05 "From N2"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">triplePointPressure=0.1253e5 "From N2"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">normalBoilingPoint=78.903<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">meltingPoint=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">acentricFactor=0.0335<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">dipoleMoment=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasCriticalData=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasFundamentalEquation=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasAccurateViscosityData=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasAcentricFactor=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each chemicalFormula="N2+O2+Ar"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each structureFormula="N2+O2+Ar"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each casRegistryNumber="1"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each iupacName="air"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each molarMass=0.02896546<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each criticalTemperature=132.5306<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each criticalPressure=3.786e6<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each criticalMolarVolume=0.02896546/342.68<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each triplePointTemperature=63.05 "From N2"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each triplePointPressure=0.1253e5 "From N2"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each normalBoilingPoint=78.903<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each meltingPoint=0<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each acentricFactor=0.0335<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each dipoleMoment=0.0<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasCriticalData=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasFundamentalEquation=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasAccurateViscosityData=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasAcentricFactor=true<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">package Media.Air.ReferenceMoistAir.Utilities.Water95_Utilities</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="56" style="vertical-align: middle;">waterConstants<br></td><td style="text-align: left; vertical-align: middle;">chemicalFormula="H2O"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">structureFormula="H2O"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">casRegistryNumber="7732-18-5"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">iupacName="oxidane"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">molarMass=0.018015268<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">criticalTemperature=647.096<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">criticalPressure=22064.0e3<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">criticalMolarVolume=1/322.0*0.018015268<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">triplePointTemperature=273.16<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">triplePointPressure=611.657<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">normalBoilingPoint=373.124<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">meltingPoint=273.15<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">acentricFactor=0.344<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">dipoleMoment=1.8<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasCriticalData=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasIdealGasHeatCapacity=false<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasDipoleMoment=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasFundamentalEquation=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasLiquidHeatCapacity=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasSolidHeatCapacity=false<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasAccurateViscosityData=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasAccurateConductivityData=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasVapourPressureCurve=false<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hasAcentricFactor=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">HCRIT0=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">SCRIT0=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">deltah=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">deltas=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each chemicalFormula="H2O"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each structureFormula="H2O"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each casRegistryNumber="7732-18-5"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each iupacName="oxidane"<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each molarMass=0.018015268<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each criticalTemperature=647.096<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each criticalPressure=22064.0e3<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each criticalMolarVolume=1/322.0*0.018015268<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each triplePointTemperature=273.16<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each triplePointPressure=611.657<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each normalBoilingPoint=373.124<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each meltingPoint=273.15<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each acentricFactor=0.344<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each dipoleMoment=1.8<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasCriticalData=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasIdealGasHeatCapacity=false<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasDipoleMoment=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasFundamentalEquation=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasLiquidHeatCapacity=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasSolidHeatCapacity=false<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasAccurateViscosityData=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasAccurateConductivityData=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasVapourPressureCurve=false<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each hasAcentricFactor=true<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each HCRIT0=0.0<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each SCRIT0=0.0<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each deltah=0.0<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">each deltas=0.0<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.IdealGases.Common.SingleGasNasa.dynamicViscosityLowPressure</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">eta<br></td><td style="text-align: left; vertical-align: middle;"><b>Media.Interfaces.Types.DynamicViscosity</b><br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.DynamicViscosity</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.R134a.R134a_ph.setState_pTX</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">delp<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">Media.R134a.R134a_ph.phaseBoundaryAssert(p,</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">T);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">assert(false,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">"A </span><span style="color: rgb(102, 0, 204); font-weight: bold;">calculation of two-phase properties with input of pressure and temperature is not possible.\n" +<br>  "Please use setState_dTX or setState_phX instead.");</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  state =  ThermodynamicState(<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspd=dofpT(p, T, delp),<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspT=T,<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsph=hofpT(p, T, delp),<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspp=p,<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspphase=1);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">package Media.Water.WaterIF97_base</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Media.Water.WaterIF97_base.BaseProperties</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  MM = fluidConstants[1].molarMass;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(0, 153, 0); font-weight: bold;">Region &gt; </span><span style="color: rgb(0, 153, 0); font-weight: bold;">0 then</span>
</td>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(102, 0, 204); font-weight: bold;">smoothModel then</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      phase = (if Region == 4 then 2 else 1);<br>  elseif smoothModel then<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      if onePhase then<br> ... <br>  if dT_explicit then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      p = pressure_dT(<br>            d,<br>            T,<br>            <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>            Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">      p = pressure_dT(<br>            d,<br>            T,<br>            <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      h = specificEnthalpy_dT(<br>            d,<br>            T,<br>            <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>            Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">      h = specificEnthalpy_dT(<br>            d,<br>            T,<br>            <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      sat.Tsat = T;<br> ... <br>  elseif ph_explicit then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      d = density_ph(<br>            p,<br>            h,<br>            <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>            Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">      d = density_ph(<br>            p,<br>            h,<br>            <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      T = temperature_ph(<br>            p,<br>            h,<br>            <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>            Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">      T = temperature_ph(<br>            p,<br>            h,<br>            <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      sat.Tsat = saturationTemperature(p);<br> ... <br>  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      h = <span style="color: rgb(0, 153, 0); font-weight: bold;">specificEnthalpy_pT(<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">         p,<br>            T,<br>            Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">      h = <span style="color: rgb(102, 0, 204); font-weight: bold;">specificEnthalpy_pT(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">T);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      d = <span style="color: rgb(0, 153, 0); font-weight: bold;">density_pT(<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">         p,<br>            T,<br>            Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">      d = <span style="color: rgb(102, 0, 204); font-weight: bold;">density_pT(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">T);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      sat.psat = p;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.density_ph</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  d := IF97_Utilities.rho_ph(<br>        p,<br>        h,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>        region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  d := IF97_Utilities.rho_ph(<br>        p,<br>        h,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.temperature_ph</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  T := IF97_Utilities.T_ph(<br>        p,<br>        h,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>        region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  T := IF97_Utilities.T_ph(<br>        p,<br>        h,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.temperature_ps</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  T := IF97_Utilities.T_ps(<br>        p,<br>        s,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>        region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  T := IF97_Utilities.T_ps(<br>        p,<br>        s,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.density_ps</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  d := IF97_Utilities.rho_ps(<br>        p,<br>        s,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>        region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  d := IF97_Utilities.rho_ps(<br>        p,<br>        s,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.pressure_dT</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  p := IF97_Utilities.p_dT(<br>        d,<br>        T,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>        region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  p := IF97_Utilities.p_dT(<br>        d,<br>        T,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.specificEnthalpy_dT</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  h := IF97_Utilities.h_dT(<br>        d,<br>        T,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>        region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  h := IF97_Utilities.h_dT(<br>        d,<br>        T,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.specificEnthalpy_pT</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  h := IF97_Utilities.<span style="color: rgb(0, 153, 0); font-weight: bold;">h_pT(<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">     p,<br>        T,<br>        region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  h := IF97_Utilities.<span style="color: rgb(102, 0, 204); font-weight: bold;">h_pT(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">T);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.specificEnthalpy_ps</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  h := IF97_Utilities.h_ps(<br>        p,<br>        s,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>        region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  h := IF97_Utilities.h_ps(<br>        p,<br>        s,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.density_pT</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  d := IF97_Utilities.<span style="color: rgb(0, 153, 0); font-weight: bold;">rho_pT(<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">     p,<br>        T,<br>        region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  d := IF97_Utilities.<span style="color: rgb(102, 0, 204); font-weight: bold;">rho_pT(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">T);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.specificEntropy</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  s := if dT_explicit then IF97_Utilities.s_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else if pT_explicit then IF97_Utilities.s_pT(<br> </span>       <span style="color: rgb(0, 153, 0); font-weight: bold;">state.p,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">state.T,</span><br>    <span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">  Region) else IF97_Utilities.s_ph(<br>        state.p,<br>        state.h,<br>        state.phase,<br>        Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  s := if dT_explicit then IF97_Utilities.s_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">phase) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else if pT_explicit then IF97_Utilities.s_pT(state.p,</span><br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">state.T) else IF97_Utilities.s_ph(<br> </span>       <span style="color: rgb(102, 0, 204); font-weight: bold;">state.p,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.h,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.specificHeatCapacityCp</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  cp := if dT_explicit then IF97_Utilities.cp_dT(<br>        state.d,<br>        state.T,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else if pT_explicit then IF97_Utilities.cp_pT(<br>        </span>state.p,<br>    <span style="color: rgb(0, 153, 0); font-weight: bold;">    </span>state.<span style="color: rgb(0, 153, 0); font-weight: bold;">T,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else IF97_Utilities.cp_ph(<br> </span>       state.<span style="color: rgb(0, 153, 0); font-weight: bold;">p,<br>        state.</span>h,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  cp := if dT_explicit then IF97_Utilities.cp_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">phase) else if pT_explicit then IF97_Utilities.cp_pT(state.</span>p,<br>    state.<span style="color: rgb(102, 0, 204); font-weight: bold;">T) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else IF97_Utilities.cp_ph(<br> </span>       <span style="color: rgb(102, 0, 204); font-weight: bold;">state.p,</span><br>        state.h,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.specificHeatCapacityCv</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  cv := if dT_explicit then IF97_Utilities.cv_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else if pT_explicit then IF97_Utilities.cv_pT(<br> </span>       <span style="color: rgb(0, 153, 0); font-weight: bold;">state.p,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">state.T,</span><br>    <span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">  Region) else IF97_Utilities.cv_ph(<br>        state.p,<br>        state.h,<br>        state.phase,<br>        Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  cv := if dT_explicit then IF97_Utilities.cv_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">phase) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else if pT_explicit then IF97_Utilities.cv_pT(state.p,</span><br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">state.T) else IF97_Utilities.cv_ph(<br> </span>       <span style="color: rgb(102, 0, 204); font-weight: bold;">state.p,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.h,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.isentropicExponent</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  gamma := if dT_explicit then IF97_Utilities.isentropicExponent_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else if pT_explicit then IF97_Utilities.isentropicExponent_pT(<br> </span>      <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span>state.p,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">T,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else </span><span style="color: rgb(0, 153, 0); font-weight: bold;">IF97_Utilities.isentropicExponent_ph(<br>        state.p,<br>        state.h,<br>        state.phase,<br>        Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  gamma := if dT_explicit then IF97_Utilities.isentropicExponent_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">phase) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else if pT_explicit then<br> </span>   <span style="color: rgb(102, 0, 204); font-weight: bold;">IF97_Utilities.isentropicExponent_pT(state.p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">state.T) else<br> </span>   <span style="color: rgb(102, 0, 204); font-weight: bold;">IF97_Utilities.isentropicExponent_ph(<br> </span>       state.p,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">h,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.isothermalCompressibility</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  kappa := if dT_explicit then IF97_Utilities.kappa_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else if pT_explicit then IF97_Utilities.kappa_pT(<br> </span>       <span style="color: rgb(0, 153, 0); font-weight: bold;">state.p,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">state.T,</span><br>    <span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">  Region) else IF97_Utilities.kappa_ph(<br>        state.p,<br>        state.h,<br>        state.phase,<br>        Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  kappa := if dT_explicit then IF97_Utilities.kappa_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">phase) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else if pT_explicit then IF97_Utilities.kappa_pT(state.p,</span><br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">state.T) else IF97_Utilities.kappa_ph(<br> </span>       <span style="color: rgb(102, 0, 204); font-weight: bold;">state.p,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.h,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.isobaricExpansionCoefficient</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  beta := if dT_explicit then IF97_Utilities.beta_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else if pT_explicit then IF97_Utilities.beta_pT(<br> </span>       <span style="color: rgb(0, 153, 0); font-weight: bold;">state.p,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">state.T,</span><br>    <span style="color: rgb(0, 153, 0); font-weight: bold;">  </span><span style="color: rgb(0, 153, 0); font-weight: bold;">  Region) else IF97_Utilities.beta_ph(<br>        state.p,<br>        state.h,<br>        state.phase,<br>        Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  beta := if dT_explicit then IF97_Utilities.beta_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">phase) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else if pT_explicit then IF97_Utilities.beta_pT(state.p,</span><br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">state.T) else IF97_Utilities.beta_ph(<br> </span>       <span style="color: rgb(102, 0, 204); font-weight: bold;">state.p,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.h,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.velocityOfSound</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  a := if dT_explicit then IF97_Utilities.velocityOfSound_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else if pT_explicit then IF97_Utilities.velocityOfSound_pT(<br> </span>      <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span>state.p,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">T,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Region) else </span><span style="color: rgb(0, 153, 0); font-weight: bold;">IF97_Utilities.velocityOfSound_ph(<br>        state.p,<br>        state.h,<br>        state.phase,<br>        Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  a := if dT_explicit then IF97_Utilities.velocityOfSound_dT(<br>        state.d,<br>        state.T,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">phase) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">else if pT_explicit then<br> </span>   <span style="color: rgb(102, 0, 204); font-weight: bold;">IF97_Utilities.velocityOfSound_pT(state.p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">state.T) else<br> </span>   <span style="color: rgb(102, 0, 204); font-weight: bold;">IF97_Utilities.velocityOfSound_ph(<br> </span>       state.p,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">h,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">state.phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.density_derh_p</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  ddhp := IF97_Utilities.ddhp(<br>        state.p,<br>        state.h,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>        Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  ddhp := IF97_Utilities.ddhp(<br>        state.p,<br>        state.h,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.density_derp_h</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  ddph := IF97_Utilities.ddph(<br>        state.p,<br>        state.h,<br>        state.<span style="color: rgb(0, 153, 0); font-weight: bold;">phase,</span><span style="color: rgb(0, 153, 0); font-weight: bold;"><br>        Region);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  ddph := IF97_Utilities.ddph(<br>        state.p,<br>        state.h,<br>        state.<span style="color: rgb(102, 0, 204); font-weight: bold;">phase);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.bubbleDensity</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  dl := if ph_explicit <span style="color: rgb(0, 153, 0); font-weight: bold;">or pT_explicit </span>then<br> <span style="color: rgb(0, 153, 0); font-weight: bold;">   </span>IF97_Utilities.BaseIF97.Regions.rhol_p(sat.psat) <span style="color: rgb(0, 153, 0); font-weight: bold;">else<br> </span>   IF97_Utilities.BaseIF97.Regions.rhol_T(sat.Tsat);
</td>
<td style="vertical-align: middle; text-align: left;">  dl := if ph_explicit then IF97_Utilities.BaseIF97.Regions.rhol_p(sat.psat)<br>    <span style="color: rgb(102, 0, 204); font-weight: bold;"> else </span>IF97_Utilities.BaseIF97.Regions.rhol_T(sat.Tsat);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.setState_dTX</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(<br>        d=d,<br>        T=T,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">phase=if </span><span style="color: rgb(0, 153, 0); font-weight: bold;">region == 0 then 0 else if<br> </span>     <span style="color: rgb(0, 153, 0); font-weight: bold;">region == 4 then 2 else 1,</span><br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">h=specificEnthalpy_dT(<br> </span>     <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">   d,<br>          T,<br>          region=region),<br>        p=pressure_dT(<br>          d,<br>          T,<br>          region=region));</span>
</td>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(<br>        d=d,<br>        T=T,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase=0,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">h=specificEnthalpy_dT(d,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">T),</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">p=pressure_dT(d,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">T));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.setState_phX</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">d=density_ph(<br> </span>         <span style="color: rgb(0, 153, 0); font-weight: bold;">p,</span><br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">h,</span><br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">region=region),</span><br>     <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">  T=temperature_ph(<br>          p,<br>          h,<br>          region=region),<br>        phase=if region == 0 then 0 else if region==4 then 2 else 1,<br>        h=h,<br>        p=p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">d=density_ph(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">h),</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">T=temperature_ph(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">h),</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase=0,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">h=h,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">p=p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.setState_psX</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">d=density_ps(<br> </span>         <span style="color: rgb(0, 153, 0); font-weight: bold;">p,</span><br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">s,</span><br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">region=region),</span><br>      <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;"> T=temperature_ps(<br>          p,<br>          s,<br>          region=region),<br>        phase=if region == 0 then 0 else if region==4 then 2 else 1,<br>        h=specificEnthalpy_ps(<br>          p,<br>          s,<br>          region=region),<br>        p=p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">d=density_ps(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">s),</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">T=temperature_ps(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">s),</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase=0,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">h=specificEnthalpy_ps(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">s),</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">p=p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.WaterIF97_base.setState_pTX</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">region<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">d=density_pT(<br> </span>         <span style="color: rgb(0, 153, 0); font-weight: bold;">p,</span><br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">T,</span><br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">region=region),</span><br>     <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">  T=T,<br>        phase=1,<br>        h=specificEnthalpy_pT(<br>          p,<br>          T,<br>          region=region),<br>        p=p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  state := ThermodynamicState(<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">d=density_pT(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">T),</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">T=T,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">phase=1,</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">h=specificEnthalpy_pT(p,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">T),</span><br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">p=p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">package Media.Water.WaterIF97_fixedregion</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Region<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ph_explicit<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dT_explicit<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pT_explicit<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.BaseIF97.Isentropic.hofps4</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>      hv =  Regions.hv_p_R4b(p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">else</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">end </span><span style="color: rgb(102, 0, 204); font-weight: bold;">if;</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">   <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>sl <span style="color: rgb(0, 153, 0); font-weight: bold;">=  Regions.sl_p_R4b(data.PCRIT);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">x = </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">max(min(if </span>sl <span style="color: rgb(102, 0, 204); font-weight: bold;">&lt;&gt; sv then (s - </span><span style="color: rgb(102, 0, 204); font-weight: bold;">sl)/(sv - sl) else 1.0, 1.0), 0.0);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">   <span style="color: rgb(0, 153, 0); font-weight: bold;">   sv = </span><span style="color: rgb(0, 153, 0); font-weight: bold;"> Regions.sv_p_R4b(data.PCRIT);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">h = </span> <span style="color: rgb(102, 0, 204); font-weight: bold;">hl + x*(hv - hl);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">      hl =  Regions.hl_p_R4b(data.PCRIT);</span>
</td>
<td style="vertical-align: middle; text-align: left;">
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      hv =  Regions.hv_p_R4b(data.PCRIT);<br>  end if;<br>  x =  max(min(if sl &lt;&gt; sv then (s - sl)/(sv - sl) else 1.0, 1.0), 0.0);<br>  h =  hl + x*(hv - hl);<br><br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.waterBaseProp_ph</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  aux.R =  BaseIF97.data.RH2O;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  aux.vt =  0.0 "initialized in case it is not needed";<br>  aux.vp =  0.0 "initialized in case it is not needed";<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if (aux.region == 1) then<br> ... <br>      aux.vt =  aux.R/p*(g.pi*g.gpi - g.tau*g.pi*g.gtaupi);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.vp =  aux.R*aux.T/(p*p)*g.pi*g.pi*g.gpipi;<br> ... <br>      aux.vp =  aux.R*aux.T/(p*p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>      aux.vp =  aux.R*aux.T/(p*p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.waterBaseProp_ps</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  aux.R =  BaseIF97.data.RH2O;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  aux.vt =  0.0 "initialized in case it is not needed";<br>  aux.vp =  0.0 "initialized in case it is not needed";<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if (aux.region == 1) then<br> ... <br>      aux.vp =  aux.R*aux.T/(p*p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>      aux.vp =  aux.R*aux.T/(p*p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>      aux.vp =  aux.R*aux.T/(p*p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.waterBaseProp_pT</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  aux.T =  T;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  aux.vt =  0.0 "initialized in case it is not needed";<br>  aux.vp =  0.0 "initialized in case it is not needed";<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if (aux.region == 1) then<br> ... <br>      aux.dpT =  -aux.vt/aux.vp;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  elseif (aux.region == 2) then<br> ... <br>      aux.vp =  aux.R*T/(p*p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>      aux.vp =  aux.R*T/(p*p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.waterBaseProp_dT</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  aux.T =  T;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  aux.vt =  0.0 "initialized in case it is not needed";<br>  aux.vp =  0.0 "initialized in case it is not needed";<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if (aux.region == 1) then<br> ... <br>      aux.vp =  aux.R*T/(aux.p*aux.p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>      aux.vp =  aux.R*T/(aux.p*aux.p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>      aux.vp =  aux.R*T/(aux.p*aux.p)*g.pi*g.pi*g.gpipi;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.pt =  -g.p/g.T*(g.gpi - g.tau*g.gtaupi)/(g.gpipi*g.pi);<br>      aux.pd =  -g.R*g.T*g.gpi*g.gpi/(g.gpipi);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cp =  -aux.R*g.tau*g.tau*g.gtautau;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Thermal.FluidHeatFlow.Sources.IdealPump</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wNominal<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="rev/min"<br></td><td style="text-align: left; vertical-align: middle;">displayUnit="1/min"<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Thermal.HeatTransfer.Examples.Motor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">lossTable<br></td><td style="text-align: left; vertical-align: middle;">table=[0, 100, 500; 360, 1000, 500; 600, 100, 500]<br></td><td style="text-align: left; vertical-align: middle;">table=[0, 100, 500; 360, 100, 500; 360, 1000, 500; 600, 1000, 500]<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">smoothness=Modelica.Blocks.Types.Smoothness.ConstantSegments<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Vectors.normalize</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  result := smooth(0, <span style="color: rgb(0, 153, 0); font-weight: bold;">if </span>length(v) &gt;= eps then v/length(v) else <span style="color: rgb(0, 153, 0); font-weight: bold;">v/eps);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  result := smooth(0, <span style="color: rgb(102, 0, 204); font-weight: bold;">noEvent(if </span>length(v) &gt;= eps then v/length(v) else <span style="color: rgb(102, 0, 204); font-weight: bold;">v/eps));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.leastSquares</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  if min(size(A)) &gt; 0 then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      (xx,info,rank) =  LAPACK.<span style="color: rgb(0, 153, 0); font-weight: bold;">dgelsy_vec(<br> </span>           A,<br>            b,<br>            rcond);
</td>
<td style="vertical-align: middle; text-align: left;">      (xx,info,rank) =  LAPACK.<span style="color: rgb(102, 0, 204); font-weight: bold;">dgelsx_vec(<br> </span>           A,<br>            b,<br>            rcond);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      x =  xx[1:size(A, 2)];<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.leastSquares2</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  (XX,info,rank) := LAPACK.<span style="color: rgb(0, 153, 0); font-weight: bold;">dgelsy(<br> </span>       A,<br>        B,<br>        rcond);
</td>
<td style="vertical-align: middle; text-align: left;">  (XX,info,rank) := LAPACK.<span style="color: rgb(102, 0, 204); font-weight: bold;">dgelsx(<br> </span>       A,<br>        B,<br>        rcond);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  X =  XX[1:size(A, 2), :];<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgeev</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgeev(<br>        "N",<br>        "V",<br>        n,<br>        Awork,<br>        n,<br>        eigenReal,<br>        eigenImag,<br>        dummy,<br>        1,<br>        eigenVectors,<br>        n,<br>        work,<br>        size(work, 1),<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgeev(<br>        "N",<br>        "V",<br>        n,<br>        Awork,<br>        n,<br>        eigenReal,<br>        eigenImag,<br>        dummy,<br>        1,<br>        eigenVectors,<br>        n,<br>        work,<br>        size(work, 1),<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgeev_eigenValues</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgeev(<br>        "N",<br>        "N",<br>        size(A, 1),<br>        Awork,<br>        size(A, 1),<br>        EigenReal,<br>        EigenImag,<br>        EigenvectorsL,<br>        size(EigenvectorsL, 1),<br>        EigenvectorsL,<br>        size(EigenvectorsL, 1),<br>        work,<br>        size(work, 1),<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgeev(<br>        "N",<br>        "N",<br>        size(A, 1),<br>        Awork,<br>        size(A, 1),<br>        EigenReal,<br>        EigenImag,<br>        EigenvectorsL,<br>        size(EigenvectorsL, 1),<br>        EigenvectorsL,<br>        size(EigenvectorsL, 1),<br>        work,<br>        size(work, 1),<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgegv</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgegv(<br>        "N",<br>        "N",<br>        n,<br>        Awork,<br>        n,<br>        Bwork,<br>        n,<br>        alphaReal,<br>        alphaImag,<br>        beta,<br>        dummy1,<br>        1,<br>        dummy2,<br>        1,<br>        work,<br>        size(work, 1),<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgegv(<br>        "N",<br>        "N",<br>        n,<br>        Awork,<br>        n,<br>        Bwork,<br>        n,<br>        alphaReal,<br>        alphaImag,<br>        beta,<br>        dummy1,<br>        1,<br>        dummy2,<br>        1,<br>        work,<br>        size(work, 1),<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgesvd</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgesvd(<br>        "A",<br>        "A",<br>        size(A, 1),<br>        size(A, 2),<br>        Awork,<br>        size(A, 1),<br>        sigma,<br>        U,<br>        size(A, 1),<br>        VT,<br>        size(A, 2),<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgesvd(<br>        "A",<br>        "A",<br>        size(A, 1),<br>        size(A, 2),<br>        Awork,<br>        size(A, 1),<br>        sigma,<br>        U,<br>        size(A, 1),<br>        VT,<br>        size(A, 2),<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgesvd_sigma</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgesvd(<br>        "N",<br>        "N",<br>        size(A, 1),<br>        size(A, 2),<br>        Awork,<br>        size(A, 1),<br>        sigma,<br>        U,<br>        size(A, 1),<br>        VT,<br>        size(A, 2),<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgesvd(<br>        "N",<br>        "N",<br>        size(A, 1),<br>        size(A, 2),<br>        Awork,<br>        size(A, 1),<br>        sigma,<br>        U,<br>        size(A, 1),<br>        VT,<br>        size(A, 2),<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dtrsen</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dtrsen(<br>        job,<br>        compq,<br>        select,<br>        n,<br>        To,<br>        ldt,<br>        Qo,<br>        ldq,<br>        wr,<br>        wi,<br>        m,<br>        s,<br>        sep,<br>        work,<br>        lwork,<br>        iwork,<br>        liwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dtrsen(<br>        job,<br>        compq,<br>        select,<br>        n,<br>        To,<br>        ldt,<br>        Qo,<br>        ldq,<br>        wr,<br>        wi,<br>        m,<br>        s,<br>        sep,<br>        work,<br>        lwork,<br>        iwork,<br>        liwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgesvx</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      "FORTRAN 77" dgesvx(<br>        "N",<br>        transA,<br>        size(A, 1),<br>        size(B, 2),<br>        Awork,<br>        lda,<br>        AF,<br>        lda,<br>        ipiv,<br>        equed,<br>        R,<br>        C,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">Bwork,</span><br>        lda,<br>        X,<br>        lda,<br>        rcond,<br>        ferr,<br>        berr,<br>        work,<br>        iwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      "FORTRAN 77" dgesvx(<br>        "N",<br>        transA,<br>        size(A, 1),<br>        size(B, 2),<br>        Awork,<br>        lda,<br>        AF,<br>        lda,<br>        ipiv,<br>        equed,<br>        R,<br>        C,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">B,</span><br>        lda,<br>        X,<br>        lda,<br>        rcond,<br>        ferr,<br>        berr,<br>        work,<br>        iwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dtrsyl</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dtrsyl(<br>        trana,<br>        tranb,<br>        isgn,<br>        m,<br>        n,<br>        A,<br>        lda,<br>        B,<br>        ldb,<br>        X,<br>        lda,<br>        scale,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dtrsyl(<br>        trana,<br>        tranb,<br>        isgn,<br>        m,<br>        n,<br>        A,<br>        lda,<br>        B,<br>        ldb,<br>        X,<br>        lda,<br>        scale,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dhseqr</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dhseqr(<br>        job,<br>        compz,<br>        n,<br>        ilo,<br>        ihi,<br>        Ho,<br>        ldh,<br>        alphaReal,<br>        alphaImag,<br>        Zo,<br>        ldh,<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dhseqr(<br>        job,<br>        compz,<br>        n,<br>        ilo,<br>        ihi,<br>        Ho,<br>        ldh,<br>        alphaReal,<br>        alphaImag,<br>        Zo,<br>        ldh,<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dlange</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" anorm = dlange(<br>        norm,<br>        m,<br>        n,<br>        A,<br>        lda,<br>        work);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" anorm = dlange(<br>        norm,<br>        m,<br>        n,<br>        A,<br>        lda,<br>        work);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgecon</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgecon(<br>        norm,<br>        n,<br>        LU_of_A,<br>        lda,<br>        anorm,<br>        rcond,<br>        work,<br>        iwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgecon(<br>        norm,<br>        n,<br>        LU_of_A,<br>        lda,<br>        anorm,<br>        rcond,<br>        work,<br>        iwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgehrd</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgehrd(<br>        n,<br>        ilo,<br>        ihi,<br>        Aout,<br>        lda,<br>        tau,<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgehrd(<br>        n,<br>        ilo,<br>        ihi,<br>        Aout,<br>        lda,<br>        tau,<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgeqrf</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgeqrf(<br>        m,<br>        n,<br>        Aout,<br>        lda,<br>        tau,<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgeqrf(<br>        m,<br>        n,<br>        Aout,<br>        lda,<br>        tau,<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgeevx</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgeevx(<br>        "B",<br>        "V",<br>        "V",<br>        "E",<br>        n,<br>        AS,<br>        n,<br>        alphaReal,<br>        alphaImag,<br>        lEigenVectors,<br>        n,<br>        rEigenVectors,<br>        n,<br>        ilo,<br>        ihi,<br>        scale,<br>        abnrm,<br>        rconde,<br>        rcondv,<br>        work,<br>        lwork,<br>        iwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgeevx(<br>        "B",<br>        "V",<br>        "V",<br>        "E",<br>        n,<br>        AS,<br>        n,<br>        alphaReal,<br>        alphaImag,<br>        lEigenVectors,<br>        n,<br>        rEigenVectors,<br>        n,<br>        ilo,<br>        ihi,<br>        scale,<br>        abnrm,<br>        rconde,<br>        rcondv,<br>        work,<br>        lwork,<br>        iwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgesdd</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dgesdd(<br>        "A",<br>        size(A, 1),<br>        size(A, 2),<br>        Awork,<br>        lda,<br>        sigma,<br>        U,<br>        ldu,<br>        VT,<br>        ldvt,<br>        work,<br>        lwork,<br>        iwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dgesdd(<br>        "A",<br>        size(A, 1),<br>        size(A, 2),<br>        Awork,<br>        lda,<br>        sigma,<br>        U,<br>        ldu,<br>        VT,<br>        ldvt,<br>        work,<br>        lwork,<br>        iwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dggev</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dggev(<br>        "V",<br>        "V",<br>        nA,<br>        Awork,<br>        lda,<br>        Bwork,<br>        lda,<br>        alphaReal,<br>        alphaImag,<br>        beta,<br>        lEigenVectors,<br>        lda,<br>        rEigenVectors,<br>        lda,<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dggev(<br>        "V",<br>        "V",<br>        nA,<br>        Awork,<br>        lda,<br>        Bwork,<br>        lda,<br>        alphaReal,<br>        alphaImag,<br>        beta,<br>        lEigenVectors,<br>        lda,<br>        rEigenVectors,<br>        lda,<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dggevx</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dggevx(<br>        "B",<br>        "V",<br>        "V",<br>        "B",<br>        n,<br>        A,<br>        lda,<br>        B,<br>        lda,<br>        alphaReal,<br>        alphaImag,<br>        beta,<br>        lEigenVectors,<br>        lda,<br>        rEigenVectors,<br>        lda,<br>        ilo,<br>        ihi,<br>        lscale,<br>        rscale,<br>        abnrm,<br>        bbnrm,<br>        rconde,<br>        rcondv,<br>        work,<br>        lwork,<br>        iwork,<br>        bwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dggevx(<br>        "B",<br>        "V",<br>        "V",<br>        "B",<br>        n,<br>        A,<br>        lda,<br>        B,<br>        lda,<br>        alphaReal,<br>        alphaImag,<br>        beta,<br>        lEigenVectors,<br>        lda,<br>        rEigenVectors,<br>        lda,<br>        ilo,<br>        ihi,<br>        lscale,<br>        rscale,<br>        abnrm,<br>        bbnrm,<br>        rconde,<br>        rcondv,<br>        work,<br>        lwork,<br>        iwork,<br>        bwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dhgeqz</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dhgeqz(<br>        "E",<br>        "N",<br>        "N",<br>        n,<br>        ilo,<br>        ihi,<br>        Awork,<br>        lda,<br>        Bwork,<br>        lda,<br>        alphaReal,<br>        alphaImag,<br>        beta,<br>        Q,<br>        1,<br>        Q,<br>        1,<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dhgeqz(<br>        "E",<br>        "N",<br>        "N",<br>        n,<br>        ilo,<br>        ihi,<br>        Awork,<br>        lda,<br>        Bwork,<br>        lda,<br>        alphaReal,<br>        alphaImag,<br>        beta,<br>        Q,<br>        1,<br>        Q,<br>        1,<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dormhr</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dormhr(<br>        side,<br>        trans,<br>        m,<br>        n,<br>        ilo,<br>        ihi,<br>        A,<br>        lda,<br>        tau,<br>        Cout,<br>        ldc,<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dormhr(<br>        side,<br>        trans,<br>        m,<br>        n,<br>        ilo,<br>        ihi,<br>        A,<br>        lda,<br>        tau,<br>        Cout,<br>        ldc,<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dormqr</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dormqr(<br>        side,<br>        trans,<br>        m,<br>        n,<br>        k,<br>        A,<br>        lda,<br>        tau,<br>        Cout,<br>        ldc,<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dormqr(<br>        side,<br>        trans,<br>        m,<br>        n,<br>        k,<br>        A,<br>        lda,<br>        tau,<br>        Cout,<br>        ldc,<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dtrevc</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dtrevc(<br>        side,<br>        howmny,<br>        select,<br>        n,<br>        T,<br>        ldt,<br>        lEigenVectors,<br>        ldvl,<br>        rEigenVectors,<br>        ldvr,<br>        n,<br>        n,<br>        work,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dtrevc(<br>        side,<br>        howmny,<br>        select,<br>        n,<br>        T,<br>        ldt,<br>        lEigenVectors,<br>        ldvl,<br>        rEigenVectors,<br>        ldvr,<br>        n,<br>        n,<br>        work,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dtrsm</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dtrsm(<br>        side,<br>        uplo,<br>        transA,<br>        diag,<br>        m,<br>        n,<br>        alpha,<br>        A,<br>        lda,<br>        X,<br>        ldb);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dtrsm(<br>        side,<br>        uplo,<br>        transA,<br>        diag,<br>        m,<br>        n,<br>        alpha,<br>        A,<br>        lda,<br>        X,<br>        ldb);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dorghr</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(0, 153, 0); font-weight: bold;">"FORTRAN </span>77" dorghr(<br>        n,<br>        ilo,<br>        ihi,<br>        Aout,<br>        lda,<br>        tau,<br>        work,<br>        lwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      <span style="color: rgb(102, 0, 204); font-weight: bold;">"Fortran </span>77" dorghr(<br>        n,<br>        ilo,<br>        ihi,<br>        Aout,<br>        lda,<br>        tau,<br>        work,<br>        lwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.atan3</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function ComplexMath.'sum'</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">result:=Complex(sum(v[:].</span><span style="color: rgb(0, 153, 0); font-weight: bold;">re), sum(v[:].im));</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">result:=Complex(0);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">  for i in 1:size(v,1) loop</span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">      result= result + v[i];<br>  end for;<br><br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Utilities.Examples.readRealParameterModel</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  when terminal() then<br>      Streams.close(file);<br>  end when;<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Utilities.Files.move</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  if Strings.find(oldName,"/") == 0 and Strings.find(newName,"/") == 0 then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"> <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">     if replace then</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Utilities.Internal.FileSystem.rename(oldName,</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">newName);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">            Files.remove(newName);<br>       end if;<br>       Internal.FileSystem.rename(oldName, newName);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Utilities.Files.remove</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">fullName<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">=Files.fullPathName(name)<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">fileType<br></td><td style="text-align: left; vertical-align: middle;">=Modelica.Utilities.Internal.FileSystem.stat(name)<br></td><td style="text-align: left; vertical-align: middle;">=Modelica_3_2_1_Build_4.Utilities.Internal.FileSystem.stat(fullName)<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  if fileType == Types.FileType.RegularFile or<br>&nbsp&nbsp&nbsp&nbsp&nbspfileType == Types.FileType.SpecialFile then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">     </span><span style="color: rgb(0, 153, 0); font-weight: bold;">  Modelica.Utilities.Internal.FileSystem.removeFile(name);</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_4.Utilities.Internal.FileSystem.removeFile(fullName);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  elseif fileType == Types.FileType.Directory then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">       fullName = Files.fullPathName(name);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">       removeDirectory(fullName);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Utilities.Files.removeFile</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  if fileType == Types.FileType.RegularFile then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">       Streams.close(fileName);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">       Modelica.Utilities.Internal.FileSystem.removeFile(<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfileName);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Utilities.Streams.readFile</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">external </span><span style="color: rgb(0, 153, 0); font-weight: bold;">"C" ModelicaInternal_readFile(fileName,stringVector,size(stringVector,1));</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">algorithm<br></span>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  for i in  1:size(stringVector, 1) loop<br>      stringVector[i] =  readLine(fileName, i);<br>  end for;<br>  Streams.close(fileName);<br><br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Utilities.System.exit</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external "C" <span style="color: rgb(0, 153, 0); font-weight: bold;">exit(status);</span>
</td>
<td style="vertical-align: middle; text-align: left;">external "C" <span style="color: rgb(102, 0, 204); font-weight: bold;">ModelicaInternal_exit(status);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">package Constants</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 176px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">G<br></td><td style="text-align: left; vertical-align: middle;">=6.67408e-11<br></td><td style="text-align: left; vertical-align: middle;">=6.6742e-11<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">F<br></td><td style="text-align: left; vertical-align: middle;">=9.648533289e4<br></td><td style="text-align: left; vertical-align: middle;">=9.64853399e4<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">h<br></td><td style="text-align: left; vertical-align: middle;">=6.626070040e-34<br></td><td style="text-align: left; vertical-align: middle;">=6.6260693e-34<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">k<br></td><td style="text-align: left; vertical-align: middle;">=1.38064852e-23<br></td><td style="text-align: left; vertical-align: middle;">=1.3806505e-23<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">R<br></td><td style="text-align: left; vertical-align: middle;">=8.3144598<br></td><td style="text-align: left; vertical-align: middle;">=8.314472<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">sigma<br></td><td style="text-align: left; vertical-align: middle;">=5.670367e-8<br></td><td style="text-align: left; vertical-align: middle;">=5.670400e-8<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">N_A<br></td><td style="text-align: left; vertical-align: middle;">=6.022140857e23<br></td><td style="text-align: left; vertical-align: middle;">=6.0221415e23<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<body>
<table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="70%"><col width="15%"><col width="15%"></colgroup><tbody>
<tr><td><b>Class</b></td>
<td style="vertical-align: middle; text-align: center;"><b>Version 1</b></td><td style="vertical-align: middle; text-align: center;"><b>Version 2</b></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">class Modelica.UsersGuide.ReleaseNotes.Version_3_2_2</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Blocks.Examples.NoiseExamples</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.Blocks.Interfaces.PartialNoise</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.Blocks.Math.ContinuousMean</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.Blocks.Math.Variance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.Blocks.Math.StandardDeviation</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.Blocks.Routing.IntegerReplicator</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.Blocks.Routing.BooleanReplicator</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">type Modelica.Blocks.Types.Regularization</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Blocks.Noise</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.ComplexBlocks.Examples.ShowTransferFunction</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.ComplexBlocks.ComplexMath.Conj</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.ComplexBlocks.ComplexMath.TransferFunction</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.ComplexBlocks.Sources.LogFrequencySweep</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.ComplexBlocks.UsersGuide</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Electrical.Analog.Examples.OpAmps</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Analog.Basic.Potentiometer</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Analog.Ideal.IdealizedOpAmpLimted</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Analog.Interfaces.IdealSemiconductor</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Analog.Interfaces.IdealSwitch</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Analog.Interfaces.IdealSwitchWithArc</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Analog.Semiconductors.Diode2</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Analog.Sources.SupplyVoltage</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">block Modelica.Electrical.Machines.SpacePhasors.Blocks.QuasiRMS</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Machines.Icons.QuasiStaticFundamentalWaveMachine</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.Machines.Utilities.MultiTerminalBox</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Electrical.Machines.UsersGuide</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.MultiPhase.Basic.MultiStar</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.MultiPhase.Basic.MultiDelta</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.MultiPhase.Basic.MultiStarResistance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Electrical.MultiPhase.Functions.symmetricOrientationMatrix</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Electrical.MultiPhase.Functions.symmetricTransformationMatrix</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Electrical.MultiPhase.Functions.numberOfSymmetricBaseSystems</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Electrical.MultiPhase.Functions.factorY2D</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Electrical.MultiPhase.Functions.factorY2DC</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Electrical.MultiPhase.Functions.indexPositiveSequence</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Electrical.MultiPhase.Functions.indexNonPositiveSequence</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Electrical.MultiPhase.UsersGuide</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.SinglePhase.Basic.Impedance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.SinglePhase.Basic.Admittance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.SinglePhase.Basic.VariableImpedance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.SinglePhase.Basic.VariableAdmittance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.SinglePhase.Ideal.IdealTransformer</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.SinglePhase.Sensors.ReferenceSensor</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Electrical.QuasiStationary.Machines.SpacePhasors</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Basic.MultiStar</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Basic.MultiDelta</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Basic.MultiStarResistance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Basic.Impedance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Basic.Admittance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Basic.VariableImpedance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Basic.VariableAdmittance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Sensors.ReferenceSensor</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Sensors.VoltageQuasiRMSSensor</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Sensors.CurrentQuasiRMSSensor</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Sources.ReferenceVoltageSource</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Sources.ReferenceCurrentSource</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Electrical.QuasiStationary.MultiPhase.Interfaces.ReferenceSource</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Electrical.QuasiStationary.MultiPhase.Blocks</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Electrical.QuasiStationary.MultiPhase.Functions</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Electrical.PowerConverters</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Magnetic.FluxTubes.UsersGuide.Hysteresis</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">class Modelica.Magnetic.FluxTubes.UsersGuide.ReleaseNotes</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Magnetic.FluxTubes.Examples.Hysteresis</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Basic.ElectroMagneticConverterWithLeakageInductance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Basic.ConstantPermeance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Basic.Idle</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Basic.Short</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Basic.Crossing</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Shapes.FixedShape.GenericFluxTube</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Magnetic.FluxTubes.Material.HysteresisEverettParameter</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Magnetic.FluxTubes.Material.HysteresisTableData</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Interfaces.PartialGeneric</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Interfaces.ConditionalHeatPort</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Interfaces.PartialGenericHysteresis</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FluxTubes.Interfaces.PartialGenericHysteresisTellinen</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Magnetic.FluxTubes.Utilities</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FundamentalWave.Components.Permeance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FundamentalWave.Components.Crossing</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FundamentalWave.BasicMachines.Components.SymmetricMultiPhaseCageWinding_obsolete</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FundamentalWave.BasicMachines.Components.SaliencyCageWinding_obsolete</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FundamentalWave.Interfaces.PartialTwoPortExtended</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FundamentalWave.Interfaces.PositivePortInterface</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Magnetic.FundamentalWave.Interfaces.NegativePortInterface</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">record Modelica.Magnetic.FundamentalWave.Types.SalientPermeance</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Magnetic.QuasiStatic</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">class Modelica.Mechanics.Rotational.UsersGuide.ModelingOfFriction</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Mechanics.Rotational.Components.ElastoBacklash2</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Mechanics.Rotational.Sources.SignTorque</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Mechanics.Translational.Sources.SignForce</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Mechanics.Translational.UsersGuide</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Media.R134a.R134a_ph.dofpT</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Media.R134a.R134a_ph.hofpT</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Media.R134a.R134a_ph.phaseBoundaryAssert</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Thermal.FluidHeatFlow.UsersGuide</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Math.Matrices.LAPACK.dgelsy</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Math.Matrices.LAPACK.dgelsy_vec</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Math.Matrices.balanceABC</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Math.Random</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Math.Distributions</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Math.Special</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">package Modelica.Math.FastFourierTransform</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Utilities.Examples.WriteRealMatrixToFile</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica.Utilities.Examples.ReadRealMatrixFromFile</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Utilities.Streams.readMatrixSize</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Utilities.Streams.readRealMatrix</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Utilities.Streams.writeRealMatrix</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Utilities.Strings.hashString</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Utilities.System.getTime</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">function Modelica.Utilities.System.getPid</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">type Modelica.SIunits.DimensionlessRatio</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">class Modelica_3_2_1_Build_4.UsersGuide.ReleaseNotes.Version_3_2_1_build_4</td>
<td style="vertical-align: middle; text-align: left;"><br></td><td style="vertical-align: middle; text-align: left;">Present</td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">class Modelica_3_2_1_Build_4.UsersGuide.ReleaseNotes.Version_3_2_1_build_3</td>
<td style="vertical-align: middle; text-align: left;"><br></td><td style="vertical-align: middle; text-align: left;">Present</td>
</tr>
</tbody></table></body>
</body>

</html>
